load first image from post
-
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!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘load first image from post’ is closed to new replies.