ZenphotoCMS Forum
*default* theme and orig. size in new window - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: *default* theme and orig. size in new window (/thread-6430.html)



*default* theme and orig. size in new window - headless - 18-01-2010

Hello
I'm using the defaul theme and like to open a new window for the view in original size. How can I get it?
Regards Willi




*default* theme and orig. size in new window - acrylian - 18-01-2010

Actually that is the default...




*default* theme and orig. size in new window - headless - 18-01-2010

Thanks for a quick answer!
If there is no chance for a new window - O.K.
Maybe you can tell me how to delet the link from the display size to the original size?
Regards Willi




*default* theme and orig. size in new window - acrylian - 18-01-2010

IN the default theme the sized image is linked to the full image. If you want to open it in a new windowyou have to change the theme to do so by adding the needed atributes to the link. Best you review the theming tutorial to learn how Zenphoto themes work.




*default* theme and orig. size in new window - headless - 19-01-2010

Thanks for the tip. The tutorial says not more than I already know - I should look in the image.php. But I'm not php-coder to find around there. Maybe a choise for self/new window in the Theme Administration, will be a good solution for the future?
Regards Willi




*default* theme and orig. size in new window - acrylian - 19-01-2010

No php required for the default theme. Add the atribute to the link around line 52 of default theme's image.php.

We will not add an option for that as you can decide yourself to do that with your browser.




*default* theme and orig. size in new window - headless - 21-01-2010

Thank you