I’m trying to create a list of images, using my own “sizes”. Something like wp_get_attachment_link ( $attachment->ID, 'header' );
comes close, but it returns the header-image and link to the large (original) image. I don’t need the link, I want the URI – and that of it’s smaller brother (‘navthumb’).
The following is als very close, but only returns the results of ONE attachment and not all.