mod_language image path problem
Tried using your plugin and it looks very promising. Thank you for your effort. Unfortunately, The flag-images of the mod_language module are not showing after activating this plugin.
Using "Excluded Directories * media/mod_languages/images" does not change anything here.
The problem is withing the src path - it changes /2024-6/media/mod_languages/images/fr_fr.gif to /2024-6/2024-6/media/mod_languages/images/fr_fr.gif
Using joomla4 on xampp
Thank you for your great work!
What is 2024-6 ?
What is
2024-6?
Sorry for my late answer.
"2024-6" is my joomla root path (on localhost). As soon as i turn on [Content - Responsive Images] plugin, the src attribute of the language switcher flag image changes.
When I inspect the page when [Content - Responsive Images] plugin is OFF, i can see:
GET
...localhost/2024-6/media/mod_languages/images/de_de.gif [HTTP/1.1 **200 OK** 2ms]
When I inspect the page when [Content - Responsive Images] plugin is ON, i can see:
GET
...localhost/2024-6/2024-6/media/mod_languages/images/de_de.gif [HTTP/1.1 **302 Found** 369ms]
GET
...localhost/2024-6/de/2024-6/media/mod_languages/images/de_de?format=gif [HTTP/1.1 **404 Not Found** 294ms]
Thank you in advance.
You could try removing the $base here: https://github.com/ttc-freebies/plugin-responsive-images/blob/31dea36cf74780678af59de24c4a1e3ef10bae42/src/libraries/Ttc/src/Freebies/Responsive/Helper.php#L191
I'll investigate further although I never use subfolders for sites because it doesn't represent any real server scenario
I'll investigate further although I never use subfolders for sites because it doesn't represent any real server scenario
You're right, but i guess it is a common development scenario.
Removing the $base seems to have no effect.
I'm wondering why it changes path although .gif is not a supported mime type?
I really appreciate your work!
This should be solved with version 4.2.9
If not please reopen this issue.
Thanks