I am wanting to use the post thumbnail with the nivo slider and for it to generate the image from a custom image size (already declared in my functions file)
I wrote this (for generating the images)
<img src="<?php the_post_thumbnail(); ?>" data-thumb=""<?php the_post_thumbnail('sliderimage')> title="" />
It doesnt seem to load the images, however if i take away the image tags etc it works.
Can the above be achieved this way so that it auto generates the thumbnails and loads the images?