Gallery open directly on list

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
MZTech
Forum Members
Forum Members
Posts: 18
Joined: Tue May 28, 2013 10:51 am

Gallery open directly on list

Post by MZTech »

Hi,

I have one question: I have a gallery list with 10 galleries. I want to open Lightbox directly when clicking on the thumbnail. I dont want to open the subgallery. I want to directly open full gallery in Lightbox from directory list of galleries ( {if $image->isdir} -> directly open subgallery in Lightbox)

I hope I make sense.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Contact:

Re: Gallery open directly on list

Post by Rolf »

- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
MZTech
Forum Members
Forum Members
Posts: 18
Joined: Tue May 28, 2013 10:51 am

Re: Gallery open directly on list

Post by MZTech »

I have looked at them before the first post, couldn't find anything useful.
User avatar
hgpdesign
Forum Members
Forum Members
Posts: 47
Joined: Wed Jul 09, 2008 7:06 am

Re: Gallery open directly on list

Post by hgpdesign »

I want exactly the same thing... couldn't find a solution either. Must be simple to make though. I'll give it a try and report back when/if I succeeded.

Regards, Ron Hoenson
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Gallery open directly on list

Post by velden »

It is possible but you need to have good understanding about both the Gallery module and Lightbox.

https://tinyurl.com/zlz33f9 is made with Gallery (not LightBox)
MZTech
Forum Members
Forum Members
Posts: 18
Joined: Tue May 28, 2013 10:51 am

Re: Gallery open directly on list

Post by MZTech »

Thanks, i see. How do I list all images of subgallery when i use "isdir"?
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Gallery open directly on list

Post by velden »

Calling gallery again from inside the template, but with another dir.

Few years ago I posted this:

viewtopic.php?p=312793#p312793

Note it's a few years old, so maybe I wasn't this smart at that time :-)
MZTech
Forum Members
Forum Members
Posts: 18
Joined: Tue May 28, 2013 10:51 am

Re: Gallery open directly on list

Post by MZTech »

Please correct the link to that post.
MZTech
Forum Members
Forum Members
Posts: 18
Joined: Tue May 28, 2013 10:51 am

Re: Gallery open directly on list

Post by MZTech »

I have managed to do it. Thank you for the information.
Post Reply

Return to “Modules/Add-Ons”