• Resolved sl

    (@webmoments)


    How do you set the image size in the search drop-down list? Currently it’s the original size and it’s huge and unnecessary.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Strange, because by default images must be shown in thumbnail size.
    Anyway you can use aws_image_size filter to change search results images size.
    For example

    add_filter( 'aws_image_size', 'my_aws_image_size' );
    function my_aws_image_size( $image_size ) {
        return 'thumbnail';
    }

    change thumbnail to any supported image size

    You need to add this code snippet somewhere outside the plugins folder. For example, inside functions.php file of your theme or use some plugin for adding code snippets.

    Also after adding this code you will need to go to the plugin settings page and click ‘Clear cache’ button.

    Regards

    Thread Starter sl

    (@webmoments)

    Thank you. It’s working ??

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