Possible to disable inline image enlargement?

groovenectar

Joined: 2006-01-24
Posts: 5
Posted: Tue, 2006-01-24 05:41

Greetings...

I've got Gallery2 integrated with WordPress (thank you WPG2), and it's working pretty well... When viewing a single image, I have the default size set to fit within the site's layout; however, the user always has the option of viewing the full-sized image from within the layout. This often breaks the layout, of course. Anyone know if there's a way to have only two possibilities: 1) viewing from within the layout at the admin-specified dimensions, and 2) allowing the user to view the original image by itself, i.e. he or she would have to use his or her back button (or possibly close a new window) to get back to the gallery? I've searched the forums using terms that should have shown relevant results, but I couldn't seem to find any that fit quite right. Any suggestions?

Thanks,
-Daniel

( You can see the gallery in question here: http://soulpass.com/blog/wp-gallery2.php )

Login or register to post comments
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8598
Posted: Tue, 2006-01-24 17:56

siriux theme shows the resize and a link to download the full size.
PGtheme (documentation/user contributions) has an option for showing full size in a separate window.
you can learn from these examples and modify matrix to behave however you like :)

Login or register to post comments
groovenectar

Joined: 2006-01-24
Posts: 5
Posted: Tue, 2006-01-24 23:38

@mindless:
Thanks for your help! It worked, and I set up a little tutorial outlining the procedure:

http://soulpass.com/blog/2006/01/24/gallery2-image-resizing-breaking-your-layout/

Login or register to post comments