WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Additional image sizes] Specify just the size of the longest side? (5 posts)

  1. calanan
    Member
    Posted 4 years ago #

    A quick question, with apologies if I missed this in the documentation but how can I add a new size that allows for a certain pixel size of whichever side of the newly uploaded image is longest? (I also have media of varying dimensions and want to regenerate them at a certain size on the longest side.)

    http://wordpress.org/extend/plugins/additional-image-sizes/

  2. waltervos
    Member
    Posted 4 years ago #

    Hi calanan, I'm not sure that I understand your question. Could you give an example?

  3. calanan
    Member
    Posted 4 years ago #

    If I have original photos of varying sizes in both orientations (portrait and landscape) how can I batch process them to a smaller size without cropping and retaining their aspect ratio?

    e.g. say I have some portrait-oriented images
    600x800
    768x1024
    1200x1600

    and some landscape-oriented images
    1600x900
    800x600
    1024x768

    How can I bulk resize them to all be 250px on their longer side (letting the program figure out what the shorter side's px length should be)?

  4. waltervos
    Member
    Posted 4 years ago #

    Just enter 250 for width as well as height and don't use crop. I just tried it out and 3008x2000 files turn into 250x166 and 2000x3008 into 166x250. That's what you're trying to achieve right?

    Walter

  5. calanan
    Member
    Posted 4 years ago #

    That's it, thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic