• Hello Volkmar

    Incredible plugin! So clean and efficient.

    I’m not sure if you prefer ideas trough here or Github but here it goes. Well, they are only ideas if they don’t exist already, that’s why I ask you:

    1. Can the plugin create automatically a 2nd image with 2x the size, for bigger displays? And do you know how WP would implement it?
    2. Is it possible to crop just to one specific size (width or height)? For instance, crop just the width and let the height be elastic.
      i.e. imagin I have a place to put an image with max-width: 500px but it can have any height.

    Thank you

    Ricardo

Viewing 1 replies (of 1 total)
  • Plugin Author Volkmar Kantor

    (@volkmar-kantor)

    Hi @ridesirat ,

    sorry for the delay i was on vacation.

    Question 1: no the plugin do not have a specific functionality for x2 images. However, if you just create an additional image-size that has the same ratio you may profit from the “select same ratio” functionality in the crop editor, which selects and crop alle image-sizes with the same ratio at once.
    But you still have to implement an good behaviour for displaying the image-sizes in your theme.

    Question 2: If i remember correct this is possible. Please try the following code and the cropping:

    add_image_size('dynamic-1',500,9999, true);
    add_image_size('dynamic-2',9999,500, true);
    add_image_size('dynamic-zero-width',0,500, true);
    add_image_size('dynamic-zero-height',400,0, true);

    I think, at least it was possible – i am not completely sure about the current state as in since version 1.7.x i changed a cropping library – maybe try to use an older version too (https://www.ads-software.com/plugins/crop-thumbnails/advanced/ – in previous version choose 1.6 or 1.5)

Viewing 1 replies (of 1 total)
  • The topic ‘Size x2 and Specific one size’ is closed to new replies.