Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Photo Gallery
#26
actually Sal, its the other way around. I needed to update the plugin to match the Extend documentation.
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#27
I got it working, but only by deleting my .htaccess files since they didn't let me access any image files. Doesn't feel like an optimum solution though, is there a way to circumvent this? I'm not very good with .htaccess.
Reply
#28
I'm having the same issue with the thumbnails not showing up in the Files manager with this plugin enabled. Also is there a way to sort the albums by name? It appears that it sorts the albums based on the last modified date.
Reply
#29
@Chris are you going to supply the functionallity to link to different albums per page in the future? Now I can only link to the full gallery of photo-albums, which might not be all relevant to the subject of every page...
Reply
#30
I think i will. I am taking in all the suggestions, etc. and will come out with a new version in the future. Right now, i'm more worried about working on the core - so i might look for someone to take over this plugin for me down the line...
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#31
Hey,

I've had this plugin installed, and for some reason fancy urls are causing problems.

I.e. when i visit the gallery at http://greenerclassrooms.org.uk/media/images , it loads fine. However, if I access a gallery and then click Photo Gallery in "Photo Gallery » Big Band" in the grey bar that appears on the page, it then takes me to http://greenerclassrooms.org.uk/media/im...dia/images - which although loads, causes problems.

It's currently a working install, so please feel free to poke around and work it out.

Thanks.

Joe
Reply
#32
For some reason The Photo Gallery won't display thumbnails for me... I checked that data/cache is writable and has a .htaccess I checked that the pictures are not too big. They are in JPG format and display well when you click on them. The rez is 800x600

Get Simple is starting to drive me nuts a bit. Only been using it for a day but I've already spent several hours bug fixing another plugin (Events)
Reply
#33
HET2 Wrote:Get Simple is starting to drive me nuts a bit. Only been using it for a day but I've already spent several hours bug fixing another plugin (Events)

Het2, that is the problem with opensource: the hooks for plugins are published and it is easy to write plugins fast, but to clean the code and increase the quality of the code is hard work

we cannot guarantee that all plugins work as they promise
that's why we have the support forum here where every plugin should have it's own thread
but this lies in the responsibility of the plugin developer

I agree that situations like that can drive you nuts
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#34
fixed 2 bugs:

changed get_the_photo_gallery() to check for if (isset($_GET['album'])) instead if(!$folder) because when the gallery is on the root page $folder is nil but ['album'] is not set.

changed the breadcrumbs:
from
$code .= '<a href="'.$baseurl.'" >'.i18n_r($thisfile_tphotogall.'/PHOTO_GALLERY').'</a> &raquo; ';

to
$req = explode('?', $_SERVER["REQUEST_URI"]);
$code .= '<a href="'.$req[0].'" >'.i18n_r($thisfile_tphotogall.'/PHOTO_GALLERY').'</a> &raquo; ';

so that the photo gallery link actually takes you to where you started from.

Also (not included) on my service a change to a .htaccess file was necessary:

had to comment out "Options -Indexes" in plugins/thephotogallery/.htaccess (your service might support it, mined doesn't)

EDIT:
forgot to attach file
Reply
#35
Hey HET2

Thanks Smile That solves the main problem, however when trying to, say, go back up a directory (e.g. Photo Gallery -> Album 1) it still ends up doing the same problem.

I.e. on my site, If I click Photo Gallery on the Nav Bar, it goes to /media/images, the correct directory, whereas if I click an intermediate album, it goes to /media/images/media/images/?album=[...]

Any idea what's going wrong?

Thanks Big Grin
Reply
#36
Hi :-)

i use "getSimple 3.0" + "InsAcademy" theme
http://get-simple.info/extend/theme/insacademy/92/

i tried to use in this website also "The Photo Gallery" plugin
http://get-simple.info/extend/plugin/the...llery/151/
...but doesn't work!

(i use this plugin also in other website, so i know how it works)

i choose folder for gallery.
i put code (% the_photo_gallery %) in a page.
i can see also images.
but if i click on an image in the page, "The Photo Gallery" doens't open image in black splash-screen, but simply open in a new white page (similar to a simple link with "target_blank" in html code)

why this error?

:-(
Reply
#37
is the correct javascript included in your website header or footer?

I again ask you for a URL, that is the best way for anybody to check ;=)
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#38
Connie Wrote:is the correct javascript included in your website header or footer?

I again ask you for a URL, that is the best way for anybody to check ;=)


about "The Photo Gallery" plugin
http://get-simple.info/extend/plugin/the...llery/151/
i simply add a shortcode (% the_photo_gallery %)
to the body of the page where i want to show the photo gallery.

in my first Getsimple's website (with "distinctive" theme) it is ok.
now in my second Getsimple's website (with "insacademy" theme) it is not ok :-(

maybe i must add also javascript?
mmm... where i must see?

----

i found this javascript (in head area)


<!-- The Photo Gallery [start] -->
<script type="text/javascript" src="http://www.mywebsite.com/admin/template/js/jquery.min.js"></script>
<script type="text/javascript" src="http://www.mywebsite.com/admin/template/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.mywebsite.com/admin/template/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script>
jQuery(document).ready(function() {
if(jQuery().fancybox) {
$("a[rel*=tpgallery]").fancybox();
}
});
</script>

<style>
#the_photo_gallery h3 {margin:0 0 20px 0;}
#the_photo_gallery, #the_photo_gallery_albums {margin:0 0 10px 0;}
#the_photo_gallery_breadcrumbs {font-size:11px;margin:0 0 20px 0;padding:5px 10px;border:1px solid #ccc;background:#f6f6f6;}
#the_photo_gallery a.thumbnail img {padding:3px;margin:0 10px 10px 0;}
#the_photo_gallery_albums a.thumbnail img {float:left;margin-right:15px;max-height:80px;}
#the_photo_gallery_albums p {margin:0;line-height:18px;font-size:12px;}
#the_photo_gallery_albums p strong.tpg_title {line-height:25px;font-size:14px;}
#the_photo_gallery em {font-style:italic;color:#666;}
#the_photo_gallery a.thumbnail:link img, #the_photo_gallery a.thumbnail:visited img {border:1px solid #ccc;}
#the_photo_gallery a.thumbnail:hover img, #the_photo_gallery a.thumbnail:focus img {border:1px solid #999;}
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
.clearfix:after { clear: both; }
</style>
<!-- The Photo Gallery [end] -->


and then i found also this code (in body area), where there is the show-gallery:


<div class="center-block">
<h2>Photo Gallery</h2>
<p>
Photo Gallery</p>
<p>

&nbsp;</p>
<p>
<div id="the_photo_gallery"><h3></h3><div id="the_photo_gallery_photos" class="clearfix" ><a href="http://www.mywebsite.com/data/uploads/photogallery/dsc111.jpg" class="thumbnail" rel="tpgallery" ><img src="http://www.mywebsite.com/plugins/thephotogallery/timthumb.php?src=http://www.mywebsite.com/data/uploads/photogallery/dsc111.jpg&amp;w=100&amp;h=100" alt="" /></a><a href="http://www.mywebsite.com/data/uploads/photogallery/dsc112.jpg" class="thumbnail" rel="tpgallery" ><img src="http://www.mywebsite.com/plugins/thephotogallery/timthumb.php?src=http://www.mywebsite.com/data/uploads/photogallery/dsc112.jpg&amp;w=100&amp;h=100" alt="" /></a></div></div></p>
Reply
#39
i thinkl there is a problem with javascript on my website because also another script for photogallery doesn't open image correctly!

where can be error?
chmod?

(website is on a linux server)
Reply
#40
i try to find info about my problem.

maybe the problem is in "InsAcademy" theme
http://get-simple.info/extend/theme/insacademy/92/
+
"The Photo Gallery" plugin
http://get-simple.info/extend/plugin/the...llery/151/

because so there are:
- 2 "(document).ready" in the same page
- 2 "jquery" in the same page
- 2 "$ jQuery" in the same page
...

in fact in the same page there is not only "Photo Gallery" (made by plugin) but also a slide and a scroller (made by theme)

----

this is code of ALL page:

----


<head>

[...etcetera...]


<!-- The Photo Gallery [start] -->
<script type="text/javascript" src="http://www.mywebsite.com/admin/template/js/jquery.min.js"></script>
<script type="text/javascript" src="http://www.mywebsite.com/admin/template/js/fancybox/jquery.fancybox-1.3.4.pack.js"></script>
<link rel="stylesheet" type="text/css" href="http://www.mywebsite.com/admin/template/js/fancybox/jquery.fancybox-1.3.4.css" media="screen" />
<script>
jQuery(document).ready(function() {
if(jQuery().fancybox) {
$("a[rel*=tpgallery]").fancybox();
}
});
</script>

<style>
#the_photo_gallery h3 {margin:0 0 20px 0;}
#the_photo_gallery, #the_photo_gallery_albums {margin:0 0 10px 0;}
#the_photo_gallery_breadcrumbs {font-size:11px;margin:0 0 20px 0;padding:5px 10px;border:1px solid #ccc;background:#f6f6f6;}
#the_photo_gallery a.thumbnail img {padding:3px;margin:0 10px 10px 0;}
#the_photo_gallery_albums a.thumbnail img {float:left;margin-right:15px;max-height:80px;}
#the_photo_gallery_albums p {margin:0;line-height:18px;font-size:12px;}
#the_photo_gallery_albums p strong.tpg_title {line-height:25px;font-size:14px;}
#the_photo_gallery em {font-style:italic;color:#666;}
#the_photo_gallery a.thumbnail:link img, #the_photo_gallery a.thumbnail:visited img {border:1px solid #ccc;}
#the_photo_gallery a.thumbnail:hover img, #the_photo_gallery a.thumbnail:focus img {border:1px solid #999;}
.clearfix:before, .clearfix:after { content: "\0020"; display: block; height: 0; visibility: hidden; }
.clearfix:after { clear: both; }
</style>
<!-- The Photo Gallery [end] -->

<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<style type="text/css">#shareline{margin: 0 auto; height: 30px; overflow: hidden; margin-top: 4px;}</style>
<meta name="robots" content="index, follow" />
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="http://www.mywebsite.com/theme/insAcademy/style.css" media="all" />
<!-- JS -->

<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://www.mywebsite.com/theme/insAcademy/js/jquery.cycle.all.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#slider').cycle({
fx: 'scrollDown',
timeout: 6000
});

$('#scroll').cycle({
fx: 'scrollHorz',
timeout: 2000,
next: '#btn_next',
prev: '#btn_prev'
});
});
</script></head>
<body id="photogallery" >
<!-- Header -->
<div class="container_12">
<div class="header">
<div class="grid_6">
<h1><a href="http://www.mywebsite.com/"> HOME</a></h1>
</div>







</div></div>
<div id="slider">
<div class="slide">
<img src="http://www.mywebsite.com/theme/insAcademy/img/slide1.jpg" alt="" />


</div>
<div class="slide">
<img src="http://www.mywebsite.com/theme/insAcademy/img/slide2.jpg" alt="" />

</div>
</div>


<div id="maincontent" class="container_12">?<div class="grid_3">





</div>

</div>?<div class="grid_9">
<div class="center-block">
<h2>Photo Gallery</h2>
<p>
Photo Gallery</p>
<p>
&nbsp;</p>
<p>
<div id="the_photo_gallery"><h3></h3><div id="the_photo_gallery_photos" class="clearfix" ><a href="http://www.mywebsite.com/data/uploads/photogallery/dsc033.jpg" class="thumbnail" rel="tpgallery" ><img src="http://www.mywebsite.com/plugins/thephotogallery/timthumb.php?src=http://www.mywebsite.com/data/uploads/photogallery/dsc033.jpg&amp;w=100&amp;h=100" alt="" /></a><a href="http://www.mywebsite.com/data/uploads/photogallery/dsc016.jpg" class="thumbnail" rel="tpgallery" ><img src="http://www.mywebsite.com/plugins/thephotogallery/timthumb.php?src=http://www.mywebsite.com/data/uploads/photogallery/dsc016.jpg&amp;w=100&amp;h=100" alt="" /></a></div></div></p>

<!-- Social Share Plugin by www.nokes.de - START - Get Simple Version3.0 --><div id="shareline"><a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal">Tweet</a><iframe src="http://www.facebook.com/plugins/like.php?href=http://www.mywebsite.com/photogallery/&amp;send=false&amp;layout=button_count&amp;width=105&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font=arial&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:110px; height:21px;" allowTransparency="true"></iframe><g:plusone size="medium"></g:plusone></div><!-- END - Social Share Plugin by www.nokes.de -->
</div>
<div class="bottom-scroll">

<div id="scroll">
?<div>
<img src="http://www.mywebsite.com/files-upload/folder10/0000.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0001.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0002.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0003.jpg" alt="" />
</div>
<div>
<img src="http://www.mywebsite.com/files-upload/folder10/0004.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0005.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0006.jpg" alt="" />
<img src="http://www.mywebsite.com/files-upload/folder10/0007.jpg" alt="" />
</div>


<a href="#" id="btn_prev"></a>
<a href="#" id="btn_next"></a>
</div>


[...etcetera...]

</body>
</html>


---


please, i hope you can help me :-)
Reply
#41
are their two base jquery scripts within the <head> of your website? maybe there is a clash or something...
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#42
ccagle8 Wrote:are their two base jquery scripts within the <head> of your website? maybe there is a clash or something...

Hi ccagle/chris! :-)
i'm happy to meet you in forum and thanks for "GetSimple" project. i read a lot of times your message in forum.

---

so also in your opinion the problem is that in the same page there is not only "Photo Gallery" (made by plugin) but also a slide and a scroller (made by "InsAcademy" theme) ...and so there is a conflict.

but a question: if i want to use the nice "InsAcademy" theme, how i can use "Photo Gallery" (or similar) in cms GetSimple?
"Photo Gallery" is very simply, easy, nice: i like it!

please can you give me a solution?
Reply
#43
platinum,

many themes base on Jquery functioanality nowadays and so it should be common praxis for a plugin to check whether JQuery is already loaded in the header or not

I just suggest to test other galleries with that theme, for example I18Ngallery is very versatile

I am sure you will find a gallery which will work with the theme, unfortunately I have no time to test myself now

cheers,

Connie
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#44
Connie Wrote:platinum,

many themes base on Jquery functioanality nowadays and so it should be common praxis for a plugin to check whether JQuery is already loaded in the header or not

I just suggest to test other galleries with that theme, for example I18Ngallery is very versatile

I am sure you will find a gallery which will work with the theme, unfortunately I have no time to test myself now

cheers,

Connie

Hi Connie

of course, i already try to use "I18Ngallery" ...but it's not easy to install: i cannot create/save galleries :-(

and i tried also "GSgallery (Simple Image Gallery)" ...but this plugin doesn't work EXACTLY similar to "The Photo Galleris": if i click on a thumbnail, i open image in a new page! (...and not in a splashscreen menu).

[when i ask info in a forum, usually in the same time i try to find also a solution by myself ...but sometimes i i'm not able]
Reply
#45
Great plugin! Question... I only need the photo gallery on one page - yet all of my pages have the header include. Is there a way to tell the plugin only to display the header information when a certain page-id (or maybe a certain list of page-ids) is/are present? That solution may not work, but something along those lines?
Reply
#46
I'm very new to GS (installed it yesterday) and CMSes in general, so I might be missing something obvious to others.

I installed the plugin, and I have gotten it to work, sort of. I had to comment out Option -Indexes in .htaccess to get the plugin to work at all, same when installing GS (I think this should be mentioned in the installation instructions). During installation of GS every feature/requirement was shown in green. The only problem right now is that the thumbs aren't showing. They have been created, I can see them under the thumbs folder.

Somehow, timthumb.php doesn't output the image to my browser it seems. Any ideas? Page here (for now): http://www.plutoneld.se/index/bilder/

Also, I might have misunderstood the instructions, but I couldn't get the gallery to show by just putting the shortcode in a an otherwise empty page. Is this how you normally do it, or is there something more to it? I then tried with Exec-PHP and the PHP tag instead, and then created a new template (both of which results in the sort of working gallery).

Now, I have yet to try other galleries (I'm not sure I'll even have one on my page in the end, just fooling around and trying out GS). I'm mostly writing here to find out if this is due to a bug in the plugin and to see if I can help fix it, or if there's something missing on my hosting service which I should be aware of Smile
Reply
#47
Foh,

welcome here! I have problems to answer to your post because you write about many different topics...

what about that "comment out Option - Indexes" ... sorry this is a very strange argument, as GS does not conflict with that directive in .htaccess

this option just defines that no content of a folder should be shown in the browser when there is no index-file
so what is the relation to GS? I don't get it.
|--

Das deutschsprachige GetSimple-(Unter-)Forum:   http://get-simple.info/forums/forumdisplay.php?fid=18
Reply
#48
Ok, I'll try to make it more simple Smile (Edit: Thanks btw!)

Main Topic - Missing thumbnails
The thumbnails aren't showing up. You can access the page and see for yourselves (link in my earlier post). At least no thumbnails are shown in Firefox 7. As I wrote earlier, they have been created successfully but does not show.

The reason for the subtopics is that I'm not sure if they are related somehow to my problem. Maybe I'm just doing it wrong Smile

Subtopic - Option -Indexes in .htaccess
On my hosting the server doesn't show any pages what so ever, when that option is uncommented. I get a Service Unavailable (Error 500), or something like that. Since this option is in GS's .htaccess, it is related to it, no? Smile There's one in the root folder of GS and one in /data/upload. The one in /data/upload wasn't a problem until i installed this plugin (the plugin didn't work AT ALL with that option active on my hosting). I've seen two persons mention the same problem in this thread (comment #34 for instance).

Subtopic - Using the plugin
Where do I put the shortcode? Now I use php with Exec-PHP or in a template, but I would like to know if there's a problem with this plugins shortcode or if I'm doing it wrong. What I tested was this: Creating a new page, I enter "(% the_photo_gallery %)" (without quotes ofcourse) and save the page. When accessing the page it only shows that exakt text and no photo gallery.
Reply
#49
Quick question - would it be possible to use fancy URL-style URLs for the galleries? For example I have the following:

Page: /galleries
Gallery 1: /galleries?album=gallery1
Gallery 2: /galleries?album=gallery2

What I want:

Page: /galleries
Gallery 1: /galleries/gallery1
Gallery 2: /galleries/gallery2

I'm an htaccess noob so if there's something I can put in there to make this work, could anyone help?

Many thanks in advance.
Reply
#50
How can I sort the subfolders. And how can I display an "-" at the album name?
Reply




Users browsing this thread: 1 Guest(s)