thanks for the great plugin first.
I have an issue when regenerating images I get the following error:
This file does not exists and have not been regenerated :
Any idea? I checked filepermissions on server etc, when I click the image link under the error I see the image on “domain/media.php?attachment_id=55&action=edit” but no regeneration happens.
When there is this message, the file does not exists because the file_exists or the path of the file given by WordPress are at false.
So maybe the path of the file given by WordPress is not right, you maybe have a filter on the file path made by one other plugin or something.
Are you on multisite ? Maybe the path is filtered by WordPress and give a rewritted path.
yes am on a multisite – is there a way that the plugin works on multisite? Anything special to take care of? I have the standard WP subdomain multisite htaccess rewrite on.
Thanks a lot
Solved – was finally some weird errors in my php that prevented it.
i’m glad your problem is solved !
But i have discovered that the message was maybe wrong, i will take a look soon :).
I get the exact problem described in the first post. didnt figure it out tho. it says “file does not exist: (link)” when i click the link i see the file ok. Permissions are good too.
Look on the xhr reponse and check if there is no other characters than json. If the json is broken then you have this message.
I’m sorry, i dont know what xhr is. Im pretty sure ive used this plugin before and it worked.
Any idea how to fix the problem?
Sorry for the technical vocabulary…
Some times there is errors in the php that broke the rsponse of the regeneration.
The plugin have already worked in your server ?
I think the message is just wrong because i display the same message for not founded files and files not regenerated because alreay exists…
Go on your ftp and check if there is other files with the same name but with strings like this at the end of the file name “yourfilename-12×25.jpg”. This is the redimmensionned file.
Yes I have checked, I see the different sizes of each file I got there, but there is no copy on the size that i tried to generate with the plugin.
I changed the “large” size from 982 to 990. and a lot of photos are bigger or equal to 990 (in their original format), but the plugin didnt seem to make a copy of them in the 990 format. (im talking 990 width here).
The plugin has worked before im pretty sure, but it mightve been before I changed from windows to linux on my web host. Does that make a difference?
Tell me if there is some other info I can provide you to try and figure out the problem for me and thanks for the attention.
this is weird, have you tried to regenerate one media by the medias list ? I have added an link in quick actions. If in this case the file is regenerated so I have a script problem. If the file is not regenerated I have no other solution for you ;-(.
I didn’t realise the plugin had that funcionality. I tried it on one photo and apparently it worked. It said “the image has been regenerated in such and such seconds”
however, on the ftp folder, I see the same files as before, for that one photo.
As I said, I have switched the width of the “large” media size (in media settings) from 982 to 990px. So is that enough to make this regeneration create a new file called imagename-990×600 for example? Or am I missing something?
If the file is bigger than 990px width the size is created, so there is a problem in plugin or in your hosting… Maybe try an another regeneration image plugin.. maybe i do something wrong :/
the file is exactly 990px…
well c’mon man dont be so hard on yourself hehe I’ve used it before and I’m sure it worked. It might be some small detail thats doing this. if the file is exactly the same size of what Im trying to generate, do you think that could be the problem? the plugin just ignores it? maybe?
If not, well do you recommend any other plugin that does this funcionality?
I tried to click regenerate in one specific file from the media listing and that worked. I mean, no file was created because the file was already 990px width, so i guess wordpress doesnt create another instance of it with “-990×600” in the end of the filename.
The script I use to show galleries, now shows the image with 990px though, instead of showing the file ending on “980×600”, with 980px width (old “large size” in the media settings)
Maybe when you click regenerate on a single file it just overwrites the files even tho they are already there, and maybe that resets something and makes wordpress think twice about whats “large size”.
I hope that makes a bit of sense. Is there a way I can make the Regenerate script behave in the same way that the single regenerate link works for each media file? And overwrite everything?
nevermind man, i looked for all the photos i needed in the media listings and clicked regenerate on each of them… that solved my problem anyway =) but i think it’d be good to have the functionality i described to you. anyway, your plugin did it again! thanks a lot, for the attention also. All the best.
- The topic ‘[Plugin: Simple Image Sizes] Image regeneration fails – image does not exist’ is closed to new replies.