• Resolved elena.miteva

    (@elenamiteva)


    HI,

    I have installed this plugin and I like how it is working.

    I was wandering is it possible to add a new dimension for an image (dropdown option in the widget – Image size:Select an image size.)??? Now in the drop-down you can select Full, Thumbnail, Large etc, but I was wondering how I can add a custom size ex.1250×550 px??/

    If it is possible, how I can do this?

    Thank you

    • This topic was modified 8 years, 3 months ago by elena.miteva.
Viewing 1 replies (of 1 total)
  • Plugin Author Mikkel Rommelhoff

    (@mrommel)

    Hi Elena

    Im glad you like the plugin.
    If I remember correctly the plugin is getting the available image sizes in your theme. You could register new image sizes in functions.php

    Something like this should work:

    add_action('after_theme_setup','add_new_image_size');
    function add_new_image_size(){
    add_image_size( 'custom-size', 220, 180 ); // 220 pixels wide by 180 pixels tall, soft proportional crop mode
    }

    Let me know how it works out for you.

Viewing 1 replies (of 1 total)
  • The topic ‘Image size’ is closed to new replies.