Title: default -&gt; new window
Last modified: August 20, 2016

---

# default -> new window

 *  Resolved [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/default-new-window/)
 * hi all and, 1st of all, thanks!
 * is there a way to make the default “new window” instead of “same window”?
 * ty for yout attention
 * [http://wordpress.org/extend/plugins/wp-gallery-custom-links/](http://wordpress.org/extend/plugins/wp-gallery-custom-links/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/default-new-window/#post-3567532)
 * Not currently, but I’ll keep this in mind for a future release. Thanks!
 *  Thread Starter [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567553)
 * 🙁
 * and.. how about a tweak?
    they are about 3000 pictures 🙁
 * 1 by 1 will get me a tendinitis 🙂
 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567607)
 * It’s not a global setting, but as of the new version 1.7.0, you should be able
   to use the following shortcode attribute:
 * `[gallery open_all_in_new_window="true"]`
 * to open each gallery image in a new window. Hopefully that will help at least
   a bit. 😛
 *  Thread Starter [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567609)
 * sure it will!
    thanks!
 *  Thread Starter [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567610)
 * and it is even better than a global setting because like this you can set it 
   in a gallery basis
    very nice and it works thanks.
 *  Thread Starter [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567611)
 * sorry.. bad news…
    although this makes no sense…
 * i had a gallery with few pics (a dozen or so)
    made the update and it worked
 * deleted all the media
    uploaded new media created another gallery
 * made the teste:
 * with plugin activated
    i get images and open in new tab but taking several time
   with the code -> [gallery link="post" open_all_in_new_window="true" columns="
   4" ids="2324,2323,2322,2321,2320,2319,2318,2317,2316,2315,2314,2313"]
 * i dont get the images with the code -> [gallery link="post" columns="4" ids="
   2324,2323,2322,2321,2320,2319,2318,2317,2316,2315,2314,2313"]
 * with lots of images (300)
    i get this error Fatal error: Maximum execution time
   of 30 seconds exceeded in …../plugins/wp-gallery-custom-links/wp-gallery-custom-
   links.php on line 276
 * disabling the plugin all goes fast and the 300 images appear pretty fast
 * thank you for your time.
 *  [fourlightsweb](https://wordpress.org/support/users/fourlightsweb/)
 * (@fourlightsweb)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567612)
 * I’ve made a few performance tweaks, please download this beta copy and replace
   the file in the plugin folder:
 * [http://www.fourlightsweb.com/temp/wp-gallery-custom-links.php.txt](http://www.fourlightsweb.com/temp/wp-gallery-custom-links.php.txt)
 * and let me know how that works. I tested with about 200 images and the page was
   loading in about 3.4 seconds on shared hosting, so I’m not sure why your page
   would take over 30 seconds to load, but hopefully the changes I made will help
   a bit, performance-wise.
 *  Thread Starter [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * (@herrpedro)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567613)
 * i’m on shared hosting too
 * much faster now
    i’m dealing with 1000 images (and no chance here) but with 200
   and something images works so I’ll make pagination
 * and images show up with or without open_all_in_new_window=”true”
 * thanks!

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘default -> new window’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-gallery-custom-links_d3d5d9.svg)
 * [WP Gallery Custom Links](https://wordpress.org/plugins/wp-gallery-custom-links/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-gallery-custom-links/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-gallery-custom-links/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-gallery-custom-links/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-gallery-custom-links/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [herrpedro](https://wordpress.org/support/users/herrpedro/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/default-new-window/#post-3567613)
 * Status: resolved