I had images in /images/MyImages/Walking in joomla webgui. I created a site module->random image. in the module ->image folder i entered images/MyImages/Walking(copied and pasted so no typo) did not work.
gemini AI said something inane but did mention case. I then did a mv on the directories on the server to make them all lower case so now are /images/myimages/walking. I then changed the image folder in the web gui to be all lower case images/myimages/walking now it works and displays random images from the walking dir.
ubuntu 24.04.02 server with apache2 webserver, php 8.3, Joomla 5, gantry 5, helium
for me the easy workaround is to do everything in lower case. I would guess this would not be noticed on a windows host as Windows is case insensitive. I did notice that the icon worked ok with the upper case dir name as I had to choose it again after change the folders names to all lower case, so not everything is case insensitive.
Another thing to note is ManWalkingInWoods.jpeg is displayed so only dir names that have a problem with case the actual filenames are not affected only dirname
Labels |
Added:
No Code Attached Yet
|
Labels |
Added:
Information Required
|
Hi @seaoffate-net ๐
I tested the Random Image module on Joomla 5.3-dev with Windows 11, and using a folder path like:
โ Works fine โ the image displays correctly on the frontend.
Here's the module configuration I used:
And this is how it appears on the frontend:
๐งช Environment
๐ Conclusion
This works as expected on Windows, where folder names are not case-sensitive. On Linux, even with matching case, it may fail unless folder names are all lowercase โ possibly due to file system behavior or internal path handling.