I need to be able to display featured images (category 4 in my wordpress site) on a separate page just the images not the rest of the post.
I created a template named ‘ban’ and attached it to a page named banners in which to display the category 4 images.
I was able to list the categories but that is as far as I got:
<?php wp_list_categories('include=4') ?>
I’m not sure how to go about doing this, if someone could explain it to me it would be greatly appreciated!
If you want to get all featured images from the posts under category 4 then this might be the solution
If you want to get the real width/height of then images you can use this:
Just replace the the_post_thumbnail() function. Hope that helps!