• Resolved krillez

    (@krillez)


    Hello there!
    Can someone tell me if there is a way to select one of the “add_image_size()”-sizes for a slideshow?
    I want to be able to manually crop the images i’ve uploaded, and not let Metaslider select the cropping for me.
    Is there a way to specify what image-size each slider should use?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @krillez,

    You can disable cropping and add this to your functions.php file (you might need to add it to a mu-plugin if it doesn’t seem to be loading):

    add_filter('metaslider_default_size', function($size) {
      return 'full';
    });

    ‘full’ is the value of $size, but pass in your custom size. Let me know if that works.

    Hi @krillez,

    I’m going to mark this as resolved as we didn’t hear back, but please feel free to comment or open a new issue if needed, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Selecting image size’ is closed to new replies.