No Code Attached Yet
avatar korenevskiy
korenevskiy
18 Oct 2025

Steps to reproduce the issue

  1. We put a lot of files in the IMAGES folder
  2. We put a zero-size GIF file in the IMAGES folder.
  3. The MEDIA component stops showing the contents of the folder

Expected result

It should show a list of files and folders.

Actual result

The media component takes a long time to load and stops working.

System information (as much as possible)

Joomla 6.0
PHP 8.3.25

Additional comments

Any error when uploading an image makes the CMS unsuitable for working with media content.
Even deleting a GIF file with an error will not work either.

avatar korenevskiy korenevskiy - open - 18 Oct 2025
avatar joomla-cms-bot joomla-cms-bot - change - 18 Oct 2025
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 18 Oct 2025
avatar korenevskiy korenevskiy - change - 18 Oct 2025
The description was changed
avatar korenevskiy korenevskiy - edited - 18 Oct 2025
avatar Fedik
Fedik - comment - 18 Oct 2025

"many files" issue is there

"zero size gif" I do not think that an issue, but I do not have one to check

avatar brianteeman
brianteeman - comment - 18 Oct 2025

there was a previous issue about a zero size image but I am sure it was resolved with a pr

avatar korenevskiy
korenevskiy - comment - 19 Oct 2025

I just checked it again, in Joomla 6.0 Stable Release.
I created a PHP file in the IDE editor, deleted all the text, saved and renamed it to _.gif.
I opened the media component, it doesn't work. The media component takes an endless time to load.
I won't even be able to delete the file with the error without IDE or without FTP.

avatar brianteeman
brianteeman - comment - 21 Oct 2025

The error message when it tries to read the zero byte file are

Notice: exif_imagetype(): Error reading from images/null2.gif! in libraries\src\Helper\MediaHelper.php on line 93

Notice: getimagesize(): Error reading from images/null2.gif! in libraries\src\Image\Image.php on line 177

Hope that helps with debugging

Add a Comment

Login with GitHub to post a comment