Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Include large Image directly in ImageGalleryPage


Reply

290 Views

Avatar
kandinsky

20 February 2012 at 10:07am Community Member, 2 Posts

Hello,

I got stuck in a little problem and hope you can give me some hints so I can figure the solution out.
Basically I want to use the gallery frontend without the featured javascript popups. Instead, a click on a thumbnail should load the large version of the image directly in the actual page. I don't care, whether this requires a full reload of the page or some ajax-implementation.
Some things I figured out: ImageGalleryPage_album.ss includes GalleryUI_layout.ss. $GalleryItem somehow includes Lightbox_item.ss. I don't know where the variable $ViewLink is built, which I guess is crucial to my solution. I guess I then will have to copy some code from the lightbox.js and make it available via ImageGalleryPage_album.ss. href="$ViewLink", which contains the ID of the Image, will then update the page.

To be honest, I find programming quite difficult if not practised continuously.

Best regards and thanks,
Kandinsky

Visualization of the use case: