vintagemaniac
Member
Posted 1 year ago #
I want to use the built in gallery-feature, but I don't want the thumbnails to link to attachment.php, but directly to the images just as you can do when inserting separate thumbnails.
Tried with replacing wp_get_attachment_link($id, $size, true); with wp_get_attachment_url($post->ID) (just a thought..) but it had no effect.
Anyone who can help?
I was looking for a solution in a similar situation too!
Anyone found a workaround??
vintagemaniac
Member
Posted 1 year ago #
I would really really really appreciate some assistance... :D
wp_get_attachment_link($post->ID, 'thumbnail'); doesn't works, allways retrieves a fullsize image, if is an image.
grrrrr :(
PD: Greenshady... emmm, thxs... but, IMHO, is not necessary a plugin to build a simple list of attachments thumbnails :S
We only need this function works correctly.