Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter gregrobinsonhd

    (@gregrobinsonhd)

    I should add that I did try deleting the gallery, saving the post, and then creating a new gallery with the same 6 photos. (the missing 4 are still visible as thumbnails when browsing my WP media gallery) This did not fix the issue. FYI.

    Jason

    (@verysimple)

    it looks like the images are not there anymore, for example if you look at one of the full images here: https://thenotsoquietcorner.com/wp-content/uploads/2013/11/IMG_20131031_180838_231-576×1024.jpg

    I might go look on your server and see if you can figure out if those files are still there or what is going on. You can replace them with your backup copies if necessary.

    Imsanity doesn’t delete image files so it shouldn’t have been the plugin on it’s own, so I’m not really sure what could be the cause, but the more info you can find out it might be helpful.

    Thread Starter gregrobinsonhd

    (@gregrobinsonhd)

    Thanks for the response, Jason. Well, I certainly didn’t delete the files. When I look at File Manager, here’s what I see for the image you listed: https://thenotsoquietcorner.com/temp/images_list.png

    The one you list is not among them. So that’s a problem. Do you recognize the others as “your doing?” Or is that all standard WordPress resizing nomenclature?

    Also, and maybe this is relevant… the only other plugin I installed yesterday along with Imsanity is “Image Pro” for easier uploading and resizing during post edits. Is there perhaps an issue with your plugin and that plugin working together? When I opened this post in edit mode, I did get the following alert:
    https://thenotsoquietcorner.com/temp/image_pro_alert.jpg

    Maybe this somehow screwed things up? I guess I’ll ask him too. But either Imsanity or Image Pro seems to have renamed or deleted the file, not just resized it. Because I certainly didn’t actively delete any files yesterday. Thanks.

    Jason

    (@verysimple)

    Hmm, well I don’t know anything about the other plugin. But the images with the dimensions as part of the filename are automatically generated by WordPress.

    If you upload a giant image, WordPress will create up to 3 smaller image versions (large, medium and thumb). It will never generate an image that is larger than the original though, so for example it won’t generate the “large” image if it isn’t necessary.

    Since the missing image has the name 1024, that would be the “large” image created by WordPress. I’m guessing if you bulk resized your originals to 1024 or smaller, then WordPress or some other plugin may have detected that the “large” size image now redundant (because it is exactly the same size as the original). I have never seen WordPress just delete those images on it’s own, though.

    Anyway – your images are all there and safe, but you probably just need to re-create your gallery because it is stuck with the redundant “large” image size which seems to not exist anymore.

    Hi, I had the same thing happen. Any existing image in a post that had 1024×664 or such as part of it’s image name was DELETED from the server. If this happens to you, try the Broken Link Checker plugin. You’ll have to remove the 1024×664 or whatever part of the url to link them back up.

    There’s only once scenario where Imsanity will mess with a filename at all – in the case where you opt to convert BMP images to JPG, then Imsanity has to rename the file with the correct extension. Otherwise it doesn’t know about (let alone mess with) any of the scaled images (Large, Medium, Thumbnail) and there is no functionality in Imsanity for deleting or renaming files.

    I certainly am not questioning anybody about what’s happening, but so far I can’t manage to reproduce it myself and nobody has been able to give me the steps to reproduce it either. If it is Imsanity then I definitely would like to fix it, but I’m afraid I would need some help from somebody who can reproduce the symptoms.

    Imsanity is fantastic and I think this is probably related to WordPress thumb medium large image Media management process. All the images that were deleted were the default large 1024px ones that the user inserted into posts. I don’t think it affected images in posts that were inserted at Full size and then scaled manually. After running Imsanity everything looked great and I saw no problems, but a day later the user noticed “no image in my last post, just a file name” On checking, I noticed it was actually over 50 posts with missing images. All had 1024 as part of their file name. They were gone from the uploads folders. Hope this helps, and thanks again for the great plugin!

    Sorry folks, this did turn out to be a bug in Imsanity which is fixed as of version 2.2.5.

    There is no data lost however it does leave an annoying situation where your “large” image file is still showing in the WordPress media library, but the file itself is missing (resulting in a broken image if it’s used on a page or post).

    The most simple solution is to just manually copy the original image file with the name of the expected “large” file, for example:

    cp original-file.jpg original-file-1024x1024.jpg

    This is obviously a waste to have a redundant file, but this will make WordPress database consistent with the filesystem because it is expecting that file to be there.

    A better solution would be to clean out the postmeta table and remove the reference to the missing file – however I don’t know of any tools that will do this and it could be somewhat dangerous to go poking around in that table.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Does bulk resize mess up existing galleries?’ is closed to new replies.