Have you re-uploaded the image after adding the new image size?
yes, i already re-upload the image.
I can see the image: http://www.domain.com/wp-upload/images/name-68×68.jpg
I have othres site using wordpress 3.4.x –> The code work fine.
But when i using wordpress 3.5 –> The code not work for me.
*all my site using the same theme.
[No bumping. If it’s that urgent, consider hiring someone.]
There’s not enough info to go on here. It should work and doesn’t make sense that it wouldn’t work on 3.5.
Try using a different image name, perhaps without numbers.
Try this code to bring it into your template
<?php
if ( has_post_thumbnail() ) : the_post_thumbnail(); the_post_thumbnail('img86'); else : echo 'no thumb';
?>
Make sure it is inside the loop.
It should return the featured image (full size) and your smaller version. If there isn’t a featured image uploaded to the page it will say “no thumb”.
What happens?
Try changing the img68 name to something else.
Thank you so much “Johnfotios” for your help.
## Try using a different image name, perhaps without numbers.
I change without number, still not working.
## Try this code to bring it into your template
I put your code into index.php file, i got blank page.
<?php
if ( has_post_thumbnail() ) : the_post_thumbnail(); the_post_thumbnail('img86'); else : echo 'no thumb';
?>
Please help me.
OMG, i forget to set the featured image, After i set the image appears well.
Thank you so much for you help guys.
-SOLVED-