WordPress.org

Ready to get started?Download WordPress

Forums

Easy Gallery Slider
[resolved] Resize/Scale without cropping (6 posts)

  1. doublesharp
    Member
    Posted 1 year ago #

    Is it possible to resize images without cropping them? All of the photos on my site are larger than the width/height that is set, however they are also all have different dimensions. Is there any way to have them scaled down to fit within the width and height and then given a matting if the dimensions do not match those from the settings?

    Thanks!

    http://wordpress.org/extend/plugins/easy-gallery-slider/

  2. doublesharp
    Member
    Posted 1 year ago #

    Nevermind, that is the default. Not sure how I missed that... d'oh!

  3. doublesharp
    Member
    Posted 1 year ago #

    Actually, un-nevermind. I was able to get it to work by selecting "Enlarge to Fill" for small images, and then in the plugin code added

    else {
    	$tt_opts .= '&zc=2';
    }

    on line 103 of easy-gallery-slider.php

    Is there a more appropriate way to achieve this?

  4. iNexi
    Member
    Plugin Author

    Posted 1 year ago #

    I agree there needs to be control over cropping for "larger" images.

    Look for it in the next update.

  5. mindeliz
    Member
    Posted 1 year ago #

    Hi, your plugin is amazing and I use doublesharp's code to resize images without cropping. Is it possible to stick horizontal pictures to top? Right now they are vertically centered..

  6. mindeliz
    Member
    Posted 1 year ago #

    Ok, I figured it out

    else {
    	$tt_opts .= '&zc=3';
    }

    on line 103 of easy-gallery-slider.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.