Fixed XFMG: Rebuild media thumbnails - not working due to missing original files


Well-known member
Affected version
XenForo Media Gallery 2.2.1
Trying to fix an issue where thumbnails are broken.

I have run the XFMG: Rebuild media thumbnails, but it does not work.


In a previous XFMG bug report related to this bug report, Chris explained:

"The error suggests that the original file is missing from your server."

In the other bug report, Chris was able to solve the issue by updating the XFMG code, he wrote:

"Further to that I've added code to fallback to the normal image if the original cannot be found"

I suspect the same code could be added to fix the bug report issue I'm reporting here, that is XFMG: Rebuild media thumbnails not working.

Thank you.

XF Bug Bot

XenForo bug fixer bot
Staff member
Thank you for reporting this issue, it has now been resolved. We are aiming to include any changes that have been made in a future XFMG release (2.2.2).

Change log:
In rare cases where a media item is referencing an "original" version of an image that no longer exists, allow thumbnail rebuilds to fall back to the non-original (potentially watermarked) image.
There may be a delay before changes are rolled out to the XenForo Community.