Robzilla
Junior Member
Posts: 24
Joined: Sep 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
Hello!
Is there any possibility to add just a link to a specific gallery inside page content, without getting redirected to the gallery itself after clicking on that link?
Example
Site:
Rooms
Site Content:
Foo.
- Gallery 1
- Gallery 2
- Gallery 3
... if i click on "Gallery 2" the chosen display-type (Fancybox etc.) opens and the images / pictures can be browsed, but i stay on current site (Rooms).
Thanks a lot!
Rob
:-)
- - -
GetSimple 3.1
I18N Gallery 1.7.3
- - -
Edit/ I also posted this question in the official support-forum for I18N Gallery but wasn't shure if this is the right place to ask. Didn't want to spam or so. :-)
|
|
|
|
Connie
Super Moderator
Posts: 2,683
Joined: Feb 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
This question is answered in the german forum
it is possible to link to galleries in the template, examples are given at http://mvlcek.bplaced.net/get-simple/i18ngallery
Cheers, Connie
|--
Die deutsche GetSimple-Webseite: http://www.Get-Simple.de = the german Get-Simple-Website!
Das deutschsprachige GetSimple-(Unter-)Forum: http://get-simple.info/forums/forumdisplay.php?fid=18
|
|
|
|
mvlcek
Posting Freak
Posts: 1,737
Joined: Jan 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
Robzilla wrote:Is there any possibility to add just a link to a specific gallery inside page content, without getting redirected to the gallery itself after clicking on that link?
... if i click on "Gallery 2" the chosen display-type (Fancybox etc.) opens and the images / pictures can be browsed, but i stay on current site (Rooms).
You can just include multiple galleries on one page and show only one thumbnail (with fancybox or prettyPhoto):
Code:
Some content
(% gallery name=gallery1 thumb=0 %)
(% gallery name=gallery2 thumb=1 %)
(% gallery name=gallery3 thumb=random %)
Only showing a text instead of one thumbnail is currently not possible.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
|
|
|
|
Robzilla
Junior Member
Posts: 24
Joined: Sep 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
Thank you very much mvlcek!
Is there any way to include the thumbnails in sidebar / in a component?
(with or without 3rd party plugins - but i would prefer a solution without)
This here seems to mess up jquery:
Code:
<?php get_i18n_gallery_link('doppelzimmer', array('url'=>'doppelzimmer', 'thumb'=>0)); ?>
<?php get_i18n_gallery('doppelzimmer', array('type'=>'prettyphoto', 'autostart'=>true)); ?>
(thumbnails are showing - but no fancybox etc.)
This doesn't work in component:
Code:
(% gallerylink name=doppelzimmer url=die-zimmer thumb=0 pic=2 %)
(% gallery name=doppelzimmer type=fancybox autostart=true %)
This in <head>:
Code:
<?php get_i18n_gallery_header('doppelzimmer'); ?>
... and that in content:
Code:
<?php get_i18n_gallery('doppelzimmer'); ?>
grabs the whole site - i'm seeing my site inside the fancybox. (weird!)
Kind regards,
Rob
:-)
|
|
|
|
mvlcek
Posting Freak
Posts: 1,737
Joined: Jan 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
Robzilla wrote:Is there any way to include the thumbnails in sidebar / in a component?
In the template: yes, see here ( get_i18n_gallery_header and get_i18n_gallery)
In a component: not really, unless you include the matching get_i18n_gallery_header in the template.
I18N, I18N Search, I18N Gallery, I18N Special Pages - essential plugins for multi-language sites.
|
|
|
|
Robzilla
Junior Member
Posts: 24
Joined: Sep 2011
|
I18N Gallery - Content Links to Gallery / Images without redirecting
Thank you!
:-)
|
|
|
|