• Pepper_Brand_Managers

    (@pepper_brand_managers)


    Heya. Great plugin. Is there a way to select a smaller version of the image on Set Image? ie. My clients have a habit of uploading 5mb media files. I need to use Large or Medium-Large versions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author simonpedge

    (@simonpedge)

    The ‘Set Image’ uses a built-in WordPress function to upload images into the WP Media Library, so this functionality falls within the domain of WordPress core.

    I can tell you that there are plugins that can help address your issue – see:
    https://wordpress.org/plugins/resize-image-after-upload/

    Thread Starter Pepper_Brand_Managers

    (@pepper_brand_managers)

    Thanks Simon – yes I’m using Shortpixel so can reduce the maximum image size. It creates 4 different size – original (compressed), Large, Medium, Thumbnail. Coding in PHP I can declare the size in the function. Is this not possible in your Slider?

    As an example – it is possible to select image size in Revolution Slider.

    Plugin Author simonpedge

    (@simonpedge)

    Hi I did a bit of digging into the “wp.media” JavaScript media upload function and couldn’t find a solution:
    https://codex.wordpress.org/Javascript_Reference/wp.media

    No too much info out there on this function, so if anyone could provide me useful information on how to enable image-size selection within this modal, I would appreciate it.

    Thread Starter Pepper_Brand_Managers

    (@pepper_brand_managers)

    Thanks. I would have thought all that is needed is an optional selector (radio or dropdown) and fetch appropriate file via PHP string (or defaults to full size). WP creates image sizes automatically and uses default fiile names. Maybe I’m not fully understanding the complexity.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Select Image size?’ is closed to new replies.