slider - Wordpress - How to display original featured Image Size in Post -


i have created custom post type "slider". problem having is not displaying original picture size in slider. here's code

 <?php                 $options = array(             'post_type' => "slideshow",      );               $my_query = new wp_query($options);             while ($my_query->have_posts()) : $my_query->the_post();               if ( has_post_thumbnail() ) {      $image = wp_get_attachment_image_src( get_post_thumbnail_id( the_id())); }?>           <div data-thumb="<?php echo $image[0];?>"           data-src="<?php echo $image[0];?>">               </div>              <?php endwhile; ?>  

according docs, pass parameter large wp_get_attachment_image_src function:

wp_get_attachment_image_src( get_post_thumbnail_id(), 'full' ); 

the problem checking source code function seem limitation in size of image.


Comments

Popular posts from this blog

javascript - how to protect a flash video from refresh? -

visual studio 2010 - Connect to informix database windows form application -

android - Associate same looper with different threads -