Gallery 1 click to enlarge photo to actual size

  • updated
  • Answered
How can I change gallery so that it will enlarge photos to their actual size with one click. Right now it takes two clicks. One to open the photo and another to enlarge it.
Sam Brown

Hi Albert, thanks for the question. 

I hope this help:

  • Method 1 – Edit the Gallery Shortcode in Each Gallery Post (edit posts)
  • Method 2 – Filter the Gallery Shortcode in Theme Functions or Theme Plugin Using shortcode_atts Filter
  • Method 3 – Edit Thumbnail Size in Media Settings (no code method)

For more details on how to use each method, check out this article.