Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Hi I am trying to integrate a jquery gallery into my wordpress theme.The gallery will have a caption that will display the posts title and excerpt content.

What I am thinking to do is create a custom query for the posts and retrieve the posts thumbnail image aldo I would like to be able to get the image in it's full size that is stored in the media gallery.

Is there a way I can achive this?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

Try this:

<?php echo get_the_post_thumbnail($page->ID, 'full'); ?>

codex.wordpress.org/Function_Reference/get_the_post_thumbnail#thumbnail

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.