Posts: 2
Threads: 0
Joined: Mar 2014
2014-03-08, 01:27:54
(This post was last modified: 2014-03-08, 01:30:25 by vanmo.)
Hai guys,
first.. the above solution for fancyboxproblems works: i.e. remove the -1.3.4 from fancybox-1.3.4.pack.js and from fancybox-1.3.4.css in thephotogallery.php.
second: can anyone please help with fixing the breadcrumbs. In firefox/chrome the first breadcrumb should go to the homepage of the gallery/site, but instead it refers to the current sub-gallery. It works fine though in IE.
this the code from thephotogallery.php: why dows it put anything after baseurl?
# breadcrumbs
if (strpos($folder, '/')) {
$code .= '<div id="the_photo_gallery_breadcrumbs">';
$crumbs = explode('/', $folder);
$baseurl = trim(remove_querystring_var($_SERVER['REQUEST_URI'], 'album'), '/');
$code .= '<a href="'.$baseurl.'" >'.i18n_r($thisfile_tphotogall.'/PHOTO_GALLERY').'</a> » ';
$crumbadd = null;
foreach ($crumbs as $crumb) {
if ($crumb != '') {
if ($crumbadd) {
$crumbadd = $crumbadd.'/'.$crumb;
} else {
$crumbadd = $crumb;
}
if (name_convert($crumb) == name_convert($folder)) {
$code .= '<strong>'.name_convert($crumb).'</strong>';
} else {
$code .= '<a href="'.add_querystring_var($baseurl, 'album', $crumbadd).'" >'.name_convert($crumb).'</a> » ';
}
}
}
$code .= '</div>';
}
PS: if there is a better plugin with support for subdirectories please let me know..
cheers
Posts: 185
Threads: 8
Joined: Apr 2012
well, for me the best plugin is DynPages
1. create simple code to read url and parse gallery root and gallery folder
2. reuse fancybox from /admin
3. put code in component and let it display in gallery page
4. modify .htaccess to work with urls /gallery/photoalbum1 instead of /gallery?folder=photoalbum1
this way you can have very similar gallery with custom functions like I did - read custom utf8 name from txt file in folder, next version can have optional description in txt maybe
Posts: 2
Threads: 0
Joined: Mar 2014
2014-03-08, 02:45:22
(This post was last modified: 2014-03-08, 02:47:23 by vanmo.)
(2014-03-08, 01:38:21)morvy Wrote: well, for me the best plugin is DynPages
1. create simple code to read url and parse gallery root and gallery folder
2. reuse fancybox from /admin
3. put code in component and let it display in gallery page
4. modify .htaccess to work with urls /gallery/photoalbum1 instead of /gallery?folder=photoalbum1
this way you can have very similar gallery with custom functions like I did - read custom utf8 name from txt file in folder, next version can have optional description in txt maybe
Thanks 4 the swift reply...just installed p01-contact and fancybox quit working! Cant figure out why? So I'm going to start all over... maybe an other cms .. just trolling
MORVY... can you post the url of your result... look at mine microtoys.nl
Posts: 185
Threads: 8
Joined: Apr 2012
I don't have it online, I just like playing with GS
your problem is in double loading jquery and scripts (why ? )
Posts: 5
Threads: 2
Joined: Apr 2014
is it possible that the pictures can stand to the next? When i upload 10 pictures, i dont want that it stand among themselves
Posts: 3
Threads: 0
Joined: Jun 2014
Hello,
How I can choose the outstanding image of each album? or
How to know that I can choose the image plugin?, To name it properly.
thanks
Posts: 13
Threads: 5
Joined: Jul 2015
I just downloaded and tested this plugin - a couple of errors - the plugin has:
/template/js/fancybox/jquery.fancybox-1.3.4.pack.js
/template/js/fancybox/jquery.fancybox-1.3.4.css
but needs
/template/js/fancybox/jquery.fancybox.pack.js
/template/js/fancybox/jquery.fancybox.css
or you can rename the files to make it work
Posts: 15
Threads: 2
Joined: Jan 2016
Hello,
I have a new site with grey one page theme, the photos gallery thumbnail work fine , but picture are not display in lightbox like it was in a older get simple cms i have done before, they are display as picture alone.
What should i do to have a lightbox style showing the big image ?
Thanks
Posts: 166
Threads: 7
Joined: Jan 2013
(2016-08-05, 05:52:01)Bill Wrote: Hello,
I have a new site with grey one page theme, the photos gallery thumbnail work fine , but picture are not display in lightbox like it was in a older get simple cms i have done before, they are display as picture alone.
What should i do to have a lightbox style showing the big image ?
Thanks
Just go back to post #94 in this thread for a fixed version of the plugin.
Posts: 4
Threads: 0
Joined: Mar 2016
2016-10-04, 07:14:05
(This post was last modified: 2016-10-04, 18:20:12 by cybertaf.)
(2014-03-08, 01:27:54)vanmo Wrote: Hai guys,
first.. the above solution for fancyboxproblems works: i.e. remove the -1.3.4 from fancybox-1.3.4.pack.js and from fancybox-1.3.4.css in thephotogallery.php.
second: can anyone please help with fixing the breadcrumbs. In firefox/chrome the first breadcrumb should go to the homepage of the gallery/site, but instead it refers to the current sub-gallery. It works fine though in IE.
this the code from thephotogallery.php: why dows it put anything after baseurl?
# breadcrumbs
if (strpos($folder, '/')) {
$code .= '<div id="the_photo_gallery_breadcrumbs">';
$crumbs = explode('/', $folder);
$baseurl = trim(remove_querystring_var($_SERVER['REQUEST_URI'], 'album'), '/');
$code .= '<a href="'.$baseurl.'" >'.i18n_r($thisfile_tphotogall.'/PHOTO_GALLERY').'</a> » ';
$crumbadd = null;
foreach ($crumbs as $crumb) {
if ($crumb != '') {
if ($crumbadd) {
$crumbadd = $crumbadd.'/'.$crumb;
} else {
$crumbadd = $crumb;
}
if (name_convert($crumb) == name_convert($folder)) {
$code .= '<strong>'.name_convert($crumb).'</strong>';
} else {
$code .= '<a href="'.add_querystring_var($baseurl, 'album', $crumbadd).'" >'.name_convert($crumb).'</a> » ';
}
}
}
$code .= '</div>';
}
PS: if there is a better plugin with support for subdirectories please let me know..
cheers
Hey guys,
Maybe it can help, late, I know.
I had the same issue, my web site is on a test folder. Here is the code to correct the double folder :
PHP Code: $baseurl = implode('/',array_shift(explode('/',$baseurl)));
Edit file ThePhotoGallery.php like this :
PHP Code: # breadcrumbs
if (strpos($folder, '/')) { $code .= '<div id="the_photo_gallery_breadcrumbs">'; $crumbs = explode('/', $folder); $baseurl = trim(remove_querystring_var($_SERVER['REQUEST_URI'], 'album'), '/'); $baseurl = implode('/',array_shift(explode('/',$baseurl))); echo $baseurl; $code .= '<a href="'.$baseurl.'" >'.i18n_r($thisfile_tphotogall.'/PHOTO_GALLERY').'</a> » '; $crumbadd = null; foreach ($crumbs as $crumb) { if ($crumb != '') { if ($crumbadd) { $crumbadd = $crumbadd.'/'.$crumb; } else { $crumbadd = $crumb; } if (name_convert($crumb) == name_convert($folder)) { $code .= '<strong>'.name_convert($crumb).'</strong>'; } else { $code .= '<a href="'.add_querystring_var($baseurl, 'album', $crumbadd).'" >'.name_convert($crumb).'</a> » '; } } } $code .= '</div>'; }
Tested on sub nested folders.
Posts: 1,247
Threads: 82
Joined: Feb 2011
Posts: 4
Threads: 0
Joined: Mar 2016
(2016-10-05, 10:56:37)datiswous Wrote: See this thread if you still use this plugin: http://get-simple.info/forums/showthread.php?tid=8671
Thanks to let me know
|