Hello,
I'm just building a site which displays thubnails (when opened) via attachemt.php.
I pretty much have this in my attachement.php file:
<?php $attachment_link = get_the_attachment_link($post->ID, true, array(600, 800)); // This also populates the iconsize for the next line ?>
<?php $_post = &get_post($post->ID); $classname = ($_post->iconsize[0] <= 128 ? 'full' : '') . 'attachment'; // This lets us style narrow icons specially ?>
I'm having trouble to find any info about how to use this?
I'd also liked the image to be a link to a next image rather than link to the actual image.
If some nice person could point me to a tutorial or explain this?
Thanks a lot!