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.