• Resolved Aria-chan

    (@aria-chan)


    Hi. So I have a woocommerce site, I just migrated to a new hosting, and now some (but not all) of my store’s images are not showing. I use this plugin to optimize my images.

    Some thumbnail sizes don’t exist anymore, for example “55445554-540×540.jpg”, the 540×540 file doesn’t exist on the server. So to solve this I used the Regenerate Thumbnails plugin, but it gave me this error:

    ERROR:?The fullsize image file cannot be found in your uploads directory at?2023/05/55445554.jpg. Without it, new thumbnail images can't be generated.

    I checked and indeed that file doesn’t exist, only the sizeXsize files and a “654456565-updraft-pre-smush-original.jpg” file, which is made by this plugin. Only some of the images are missing their original file, all of them have the updraft file.

    Do you have a solution for this? I need those original files back because like half of my site’s images are broken currently, and I have thousands of images, I can’t reupload everything manually.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Does the image exist in your Uploads directory if you log into your site via FTP/file manager?

    Thread Starter Aria-chan

    (@aria-chan)

    No. The original files of the images are missing from the actual wp-contents/uploads folder. Only the updraft-pre-smush-original.jpg files remains.

    Edit: is there a way to rename all X-updraft-pre-smush-original.jpg files to just X.jpg? That will save me here.

    • This reply was modified 1 year, 5 months ago by Aria-chan.
    Plugin Support vupdraft

    (@vupdraft)

    Do you have access to the WordPress CLI tool? If so, you could try regenerating the thumbnails with the following command:

    wp media regenerate <attachment-id>

    Replacing <attachment-id> with the actual ID number.

    Alternatively, if you want to regenerate all thumbnails, you can try the following command:

    wp media regenerate

    Please see the documentation here:?https://developer.www.ads-software.com/cli/commands/media/regenerate/

    Unfortunately the plugin does not have any functionality to rename the files.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Original files are missing, can’t regenerate thumbnails’ is closed to new replies.