Seeing as I'm using Gallery2 in an iframe, I don't particulary want the images opening in this. I would much prefer them to open in a new pop-up window.
I saw on here someone said about linkTarget module, but I can't see anything like this is mine.
Anyone know if I can permantley ammend my script to open in a new window?
If it's not possible to do it into a auto-sized window, then how about just a plain target="_Blank" ???
Posts: 32509
spoondevil, we recommend using GalleryEmbed from embed.php rather than iframes. G2 is designed to not use pop-ups at all. Who likes pop-ups anyway? They are rather considered bad webdesign.
However, I haven't heard of a linkTarget module for G2. As it seems, only the imageblock (random, popular) has a linkTarget option. If you want the album or the item view (showitem) to open images in new windows, you'll have to edit their templates.
Posts: 8601
linkTarget is a parameter for external image blocks, see Site Admin / Random/Popular
if you want a link target from images while browsing your G2 then try making a local template for layouts/matrix/templates/singleBody.tpl
Posts: 4
Seems like it's gonna be too much hassle opening in a new window ;)
I took a look at some of the source and thought I'd go and do some welding on the car instead!