images not re-sizing ?
-
I’ve just updated the plugin to Version 2.2.9 hotfix ?
I uploaded a 3 mb image and it wasn’t resized , i had to go into the bulk re-sizer and it did it from there ?
-
Hmm, can you let me know from where you uploaded the image? The resizing hasn’t been changed in that update so it shouldn’t be any different.
One thing is that if you put the text “noresize” in the filename then imsanity will not resize it on upload. that’s the main new feature of 2.2.9
Hi , I’ve just tested it using the version before the update , and yes it’s the same, so nothing wrong with the update.
The image was uploaded via the media libray, it’s a .jpg and before upload the size is 2.7 mb , after upload it’s reported as being 3mb by wordpress.
If I run the bulk resizer it only finds that image and does it’s magic , after that the file size gets reported as under 270k.
Hmm, well there is a chance of imsanity increasing the size (in MB) of the image even though the dimensions are decreased. This can happen if the original was saved with a lower jpg quality than Imsanity. But it shouldn’t matter if the resize occurs during upload or bulk resize.
Is there any way you have a plugin or are uploading it through some other mechanism besides the standard wordpress uploader?
So far I have never heard of this particular problem and can’t figure out any way to reproduce it..? Any clues you could provide I’m happy to check out though.
I’ll do some more checking later today , bit short on time , I’ll post back after I’ve tried a few more images. I’ll also check on some other sites that are using the plugin. I’ll try and give you more information.
Thank you
Ok , i’ve discovered that it will re-size the image if you use the ‘add media’ button within the post or page editor , but not if you add media by going directly to the media library from the sidebar link.
File properties – windows
DSC05391.JPG
4.86 MB (5,103,616 bytes)
JPEG image (.JPG)
================
reported by the bulk re-sizer as needing re-sizing after uploading
POST 1293: 2014/11/DSC05391.jpg (3872 x 2592)
settings in Imsanity
Images uploaded within a Page/Post
Fit within 1024 x 1024
Images uploaded directly to the Media Library
Fit within 1024 x 1024
Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)
Fit within 0 x 0
JPG image quality default 90
any ideas?
ahh … i found the answer in another thread
I gave that setting a value and it worked. it does say in settings – enter 0 to disable
so the problem is why is it ignoring the direct media library uploads if this is not set ?
Hmm, so prior to fixing the issue, did you have zeros configured for one or more of the max size settings in Imsanity?
WordPress tries to tell the plugin where the image was uploaded from (page/post/media library) but it’s possible they changed something and it isn’t being identified correctly anymore.
I had –
“Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)”
set to 0
I gave this a value and it worked after that directly from the media library.
Just did some quick testing and –
if i set –
“Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)”
set – 2048 x 2048 for example
and then use the media library directly (not from page or post editor)
it uploads the image as = Dimensions: 2048 × 1370
It seems it’s getting confused over the settings. The value set in –
“Images uploaded directly to the Media Library” is being ignored and it’s taking a value from the other setting – “Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)”
ah, it looks like in the function
imsanity_get_source
I’m doing some undocumented hackery to figure out where the post came from because WordPress doesn’t explicitly tell you at that stage. Something must have changed making that unreliable so I’ll have to do some research.Thanks a bunch for your troubleshooting – that’s been extremely helpful.
No problem , this plugin is awesome !
ok I think this is resolved in version 2.3.0 – please give it a try if you have a chance.
It looks like something changed with WP 4 that made it different to identify media library uploads. I tested on my setup and everything seems to be working correctly now.
Excellent !
Just tested it and all working great.
“Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)”
set back to 0
tested from add media library direct and post/page editor and all working fine.
Thanks , nice work
I don’t know if it is connected, but since at least yesterday, on one of my sites every upload via media library fails with an ‘HTTP error’ with no further notice – the upload itself is successful, but it is not being crunched to the various image sizes needed. If I disable your plugin the crunching works just fine. Upload/crunching via post/page is good, only via media library with no connection to a post fails. Any notion about that, Jason ;)?
Otherwise, one of the standard plugins I install on my customer’s sites – great stuff, thanks for keeping it up!!
The update indeed fixed some wrong behaviour, but if you now enter 0 to “Images uploaded elsewhere (Theme headers, backgrounds, logos, etc)” and upload an image in the “Customize” section of the themes section, it will get resized too. So the function is not disabled by entering 0 as it should be.
Right now the only way to achieve this is by adding “noresize” to the filename.
- The topic ‘images not re-sizing ?’ is closed to new replies.