Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134897

navyspitfire on "Changing position of featured image thumbnail crop"

$
0
0

I've set a featured image on my pages and want to crop them to a certain dimension. The problem is that it crops those dimensions in the center of the photo vs. from the top left (0,0) position. How can I set it so that the the crop starts from the top of the photo?

HTML:

<div class="post-thumb">
     <?php the_post_thumbnail( array(960,300) ); ?>
</div>

Viewing all articles
Browse latest Browse all 134897


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>