Thursday 20 January 2005 6:13:08 am
Sure, it's possible. (I'll assume that you have the knowledge of how to achieve this through plain HTML/Javascript in my answer). What I'd do, is create a separate pagelayout for displaying images in popup windows, and access the pagelayout through /layout/set/<your_layout>/ . Let's say you use "pagelayout_popup.tpl" for this purpose. I think the layout needs be set in layout.ini.append.php . To avoid having the window open full screen, you might include a javascript either on the page with the link, or in the pagelayout that opens in a new window. Inside the pagelayout_popup.tpl file, instead of including $module_result.content, like you normally would, fetch the node and use attribute_view_gui to display the image, only this time with a different size. HTH!
Cheers,
Sven Ryen
sven.ryen at maxus.no
|