No Code Attached Yet Information Required
avatar seaoffate-net
seaoffate-net
23 Mar 2025

Steps to reproduce the issue

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.

Expected result

Actual result

System information (as much as possible)

ubuntu 24.04.02 server with apache2 webserver, php 8.3, Joomla 5, gantry 5, helium

Additional comments

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

avatar seaoffate-net seaoffate-net - open - 23 Mar 2025
avatar joomla-cms-bot joomla-cms-bot - change - 23 Mar 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 23 Mar 2025
avatar AdarshSantoria
AdarshSantoria - comment - 23 Mar 2025

Hi @seaoffate-net ๐Ÿ‘‹

I tested the Random Image module on Joomla 5.3-dev with Windows 11, and using a folder path like:

images/MyImages/Walking

โœ… Works fine โ€” the image displays correctly on the frontend.

Here's the module configuration I used:

Image

And this is how it appears on the frontend:

Image

๐Ÿงช Environment

  • Joomla: 5.3-dev
  • OS: Windows 11
  • Web server: Apache (XAMPP)
  • PHP: 8.3

๐Ÿ“Œ 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.

avatar brianteeman
brianteeman - comment - 24 Mar 2025

Tested on a linux server (which is case sensitive) and cannot replicate the problem

Image

Image

avatar QuyTon QuyTon - change - 24 Mar 2025
Labels Added: Information Required
avatar QuyTon QuyTon - labeled - 24 Mar 2025

Add a Comment

Login with GitHub to post a comment