• Resolved misterdude

    (@misterdude)


    Hello,

    Wondering if there is a way to load the actual first image from a post instead of having the code create a new one at a specific size?

    <?php wpp_get_mostpopular('limit=8&range="weekly"&order_by="views"&thumbnail_width=30&thumbnail_height=30&post_html="<div class=\'item\'>{thumb}<a href=\'{url}\'><p>{text_title}</p></a></div>"'); ?>

    It’s a responsive design so the images have to be fairly large. You could see how duplicating large images can take up needed space.

    Thank you!

    https://ww.wp.xz.cn/plugins/wordpress-popular-posts/

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

    (@hcabrera)

    Hi there!

    It can be done, but only with the widget since it allows to select an specific image size from your theme’s settings instead of creating a new image (unless you select the manual size option).

    Thread Starter misterdude

    (@misterdude)

    Thanks, Hector!

    Great plugin 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘load first image from post’ is closed to new replies.