Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress featured image download in multiple size Reply To: WordPress featured image download in multiple size

#146035
Harry Saggu
Participant

Thanks for reply Rob …..

Now i got this solution for multiple size images.

<?php if ( has_post_thumbnail()) { $large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id(), ‘wall-thumb‘); echo ‘[‘; echo ‘sdkvnsdkv’; echo ‘][1]’; } ?>

and in function.php file i have assign the image size like this. add_image_size( ‘wall-thumb’, 570, 9999 );

Finally i got the way like this .

[1]: ‘ . $large_image_url[0] . ‘ “‘ . the_title_attribute(‘echo=0’) . ‘”