HollerLondon / sfImagePoolPlugin

Provides a means to manage a pool of images and associate them with other Doctrine_Record objects. Also handles dynamic cropping/sizing with caching on the filesystem, a reverse proxy or on The Edge
MIT License
5 stars 2 forks source link

pool_image_og_tag #6

Open nixilla opened 13 years ago

nixilla commented 13 years ago

It would be helpful to add this helper function, so instead of using:

<meta property="og:image" content="<?php echo pool_image_uri($object->getFeaturedImage(),'50','crop',true); ?>" />

we could have shortcut:

<?php echo pool_image_og_tag($object_or_image); ?>
angelsk commented 13 years ago

75x75 is a better size for the og:image - 50 is only the minimum and most shares use 75 or larger.

angelsk commented 11 years ago

Actually - og_image needs to be 200x200 now.