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?