Viewing 15 replies - 1 through 15 (of 18 total)
  • Jason

    (@verysimple)

    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

    Thread Starter andy0829

    (@andy0829)

    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.

    Jason

    (@verysimple)

    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.

    Thread Starter andy0829

    (@andy0829)

    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

    Thread Starter andy0829

    (@andy0829)

    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?

    Thread Starter andy0829

    (@andy0829)

    ahh … i found the answer in another thread

    original-images-are-saved

    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 ?

    Jason

    (@verysimple)

    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.

    Thread Starter andy0829

    (@andy0829)

    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.

    Thread Starter andy0829

    (@andy0829)

    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)”

    Jason

    (@verysimple)

    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.

    Thread Starter andy0829

    (@andy0829)

    No problem , this plugin is awesome !

    Jason

    (@verysimple)

    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.

    Thread Starter andy0829

    (@andy0829)

    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

    physalis

    (@physalis)

    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!!

    lalelu123

    (@lalelu123)

    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.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘images not re-sizing ?’ is closed to new replies.