• Resolved ideeregalouomo

    (@ideeregalouomo)


    Hi,
    nice plugin. It all works fine, but image size.
    I set the following code in my front page template

    <?php echo do_shortcode(“[pci-cat-grid size=”thumbnail” show_desc=”false” show_count=”false” hide_empty=”1” ]”) ?>

    but size=”thumbnail” it doesn’t work. The plugin uses only / always original image size.

    Please advice,

    Thank you

    p.s.

    I went to /var/www/html/wp-content/plugins/post-category-image-with-grid-and-slider/includes/class-pciwgas-script.php

    and changed line 207 in

    $image = pciwgas_get_image_src( $attachment_id, “thumbnail” );

    and now it returns images in thumbnail size

Viewing 1 replies (of 1 total)
  • Plugin Contributor Ketan Patel

    (@patelketan)

    Hello,

    Thanks for reaching here.

    You are changing code file please remove your code file change.

    Please try this below shortcode.
    <?php echo do_shortcode("[pci-cat-grid size="thumbnail" show_desc="false" show_count="false" hide_empty="1" ]") ?>

    Note:- Please do not copy and paste the shortcode parameter because if cause the quote(“”) issue writes manually.

    Note:- If you update the plugin in the feature then your changed core plugin file change will be lost.

    Please let me know if you have any other query.

    Thanks,

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