Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Using WP 3.5.0, Wordpress galleries have been working fine. I use the Cleaner Gallery plugin and Lightbox to display galleries in lightbox mode.

Now I am using WP 3.5.1, a gallery I created on this page is output with inconsistant hyperlinks on the thumbnails.

Some point to a URL with format: http://test.incredibleconcepts.com.au/?attachment_id=2593

Some point to a URL with format: http://test.incredibleconcepts.com.au/exhibitions/inflatable_archway_06/

Both fail to load larger images in the lightbox, producing message "image cannot be loaded, please check the image filename and path and try again".

To me, the hyperlinks on the thumbnails are not correct, but I can't see why Wordpress would be producing this.

share|improve this question

1 Answer 1

up vote 2 down vote accepted

It looks like you have the gallery settings pointing to the attachment pages instead of the media files directly.

You can try this shortcode

[gallery size="full" link="file"]

instead of the default

[gallery]

if you want different sizes, you can change the size parameter to size="thumb", size="medium", size="large" or to the image-size-name you want to use.

share|improve this answer
    
Thanks birgire. I was choosing to link to the file when creating the gallery, but link="file" was not added to the shortcode. The same symptom has occurred for a 2nd gallery. –  Steve Feb 7 '13 at 1:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.