[wp-hackers] Extract first image from a post

andré renaut andre.renaut at gmail.com
Sun Nov 23 23:29:56 GMT 2008


In my code, calling

echo teaserimg(170);

will return an image of height 170, width is computed proportionnaly from
this height to avoid image distortion.


More information about the wp-hackers mailing list