My default is that images link directly to the media file,
When I upload images I make sure they’re set so that they link to the media file.
When I create a gallery I make sure it’s set to link to the media file.
I have hundreds of pages with galleries that are all setup this way, they all worked fine until the most recent WP update.
Now wherever I have a gallery every image links to the Attachment page instead of the media file… I’ve gone into some of the individual galleries and triple checked the settings, everything is set to link to the media file, I’ve re-saved, even deleted and recreated galleries, and they still link to the Attachment page.
I’ve disabled all of my plugins (none of which are related to images or galleries) and the galleries still link to the attachment page.
Individual images inserted into the page work fine… it’s just when I use wordpress galleries. Any help would be appreciated.