• Resolved tomektomek21

    (@tomektomek21)


    hello I’ve definied max width nad height of uploaded images and it works
    BUT
    sometimes I need to upload photo WITHOUT max (width and height), how to do it ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Williams – WPMU DEV Support

    (@wpmudev-support8)

    Hi @tomektomek21

    I hope you’re well today!

    Are you referring to the “Resize my full size images” setting in “Smush -> Dashboard -> Bulk Smush” configuration?

    This changes the default 2560 pixels “full size image size” but there’s no way for “exceptions”. You can disable it but even then with default WordPress setup your “full size” images will still be max of 2560 pixels each side.

    Note though that if you upload an image that’s bigger than either 2560 pixels (if this option is disabled) or the value set in “resize my full size images” those “big originals” will still be stored on server – they do get uploaded to the site anyway so you can use them if you add image by “URL” rather than by selecting it from media library.

    For example, if you upload 5000×5000 pixels image it will get cropped to 2560×2560 pixels (or whatever more than 2560 pixels you have set in Smush settings) and when you add it as “Full size” image through Gutenberg “image” module, the image with “-scaled” suffix appended to the file name will be added. But media library – when you edit image – will also show you a direct URL to the original not-scaled image so you can use that URL with “image” block “Insert from URL” option.

    It will then use that original non-scaled/not-cropped image.

    Best regards,
    Adam

    Thread Starter tomektomek21

    (@tomektomek21)

    i’m talking about smush > dashboard > image resizing “Resize my full size images” during upload …

    I with fall in love with option ie add something to name of file, and with this smush automatically doesn’t resize this particular image
    (ie. nameoffile-noresize.jpg)

    Hi @tomektomek21,

    WordPress 5.3 introduced the resizing by default so even if it was disabled in Smush it would still be resized by WP itself on upload.
    You can disable creation of those scaled images by adding below code to your child theme functions.php file:
    add_filter( 'big_image_size_threshold', '__return_false' );

    As for Smush, you can disable “Automatic compression” in Bulk Smush panel, upload your desired images, go to Media library (list view) and you can click on Ignore link for images that you don’t want optimized. Run Bulk Smush after that and it will skip processing the ignored images.

    Cheers,
    Predrag

    Plugin Support Dimitris – WPMU DEV Support

    (@wpmudev-support6)

    Hello @tomektomek21

    It’s been a while since we’ve heard from you so I’m marking this topic as resolved. Feel free to post back if further assistance is required, or create a new topic about it. ??

    Thank you,
    Dimitris

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘MAX width and height -> WITH exception ??’ is closed to new replies.