Archived topic
Gallery doesn't show full-size photos
5 replies · Started by alw on October 23, 2016
For example, my page code is [ gallery columns="4" ids="167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202" orderby="rand" ]
This used to work fine. The page shows all of the thumbnails, but when any one is clicked, it now just shows a heading with previous and Next links.
The full-size images appear fine in the Media Library.
When adding the gallery, make sure you choose the option to open the file instead of the attachment page.
Has the gallery been removed from the theme? I notice that it no longer appears as an icon or in the Dashboard menu?
There's never been a gallery in the theme/in WordPress - at least in the menu.
This might help: https://codex.wordpress.org/The_WordPress_Gallery
Yes -- many thanks for the helpful comment.
By recreating the gallery with the option to open the media file instead of the attachment page this works.
But, there is no option to change this setting when editing the page -- unless you realize that you need to add link="file" to the shortcode in Text Mode. I only discovered this by creating a new gallery and examining the shortcode!
But this only opens a standalone image -- it doesn't show a page withe the header and the full-size image -- which happened with previous versions of WordPress.
This seems to be a bug with WordPress 4.6.1 that needs to be fixed.
When viewing the shortcode in the Visual editor, you can double click the placeholder to edit it.
If you're finding it different in the latest version of WP, a post on WordPress.org definitely wouldn't hurt :)