Page 1 of 1
PiPictures not showing thumbs
Posted: Sat Feb 04, 2006 5:50 am
by sydneysunshine
I have just installed PiPictures 1.2a but the thumbnails are not appearing below the main image. It says 'selected' but there are no thumbs. This happens in both ie and firefox.
I had a bit of trouble understanding the installation instructions. The placeholder.gif is in the PiPicture directory and the images are jpg. I dont have the originals, as I'm adapting this site to use CMSMS.
I am using: {PiPictures default="BYSA Bridges DVD Project" maxwidth=450 template="pipic.tpl"}
and the test page is
http://www.bridges.org.au/cms/index.php ... dges_Video
(Please forgive the css, as I'm in the middle of it)

Re: PiPictures not showing thumbs properly
Posted: Sat Feb 04, 2006 3:14 pm
by sydneysunshine
Hi! I have got thumbs to work but there's a new problem:
It looks like I've got a permissions problem. I keep CHMODding the PiPictures dir to 777 but all the subfolders I create are 644 or it's changing from 777 to 644. What is happening here? (That was the answer to my original problem by the way - the dir was set at 644)
Also PiPictures is making duplicates of the thumbs in the main dir and they are showing up on the page as well. In the thumbs dir the main pictures are then appearing also. Have I set a setting incorrectly?
The test page is
http://www.bridges.org.au/cms/index.php ... dges_Video
Again, apols for css, need to fix these things first. Client looking at site in three days!!
Re: PiPictures not showing thumbs
Posted: Sun Feb 05, 2006 3:53 am
by sydneysunshine
Thanks Patricia ...hmm I only downloaded the plugin a couple of days ago so it surprises me it's not supported. I think maybe the best thing would be for me to look at other gallery plugins that is supported as I'm not a php person either. I have got the cataloger and will have a look at that now.
Nearly there!

Re: PiPictures not showing thumbs properly
Posted: Sun Feb 19, 2006 11:16 pm
by katon
sydneysunshine wrote:
Also PiPictures is making duplicates of the thumbs in the main dir and they are showing up on the page as well. In the thumbs dir the main pictures are then appearing also. Have I set a setting incorrectly?
The reason for this is that when you upload photos with the Image Manager, the it generates thumbnails for admin view. Then PiPictures generates thumbnails out of Image Manager thumbnails, which results in the duplicates. I fixed it by updating line 122 to the following:
Code: Select all
if ($entry <>'.' && $entry <>'..' && (!is_dir("$rooturl$one/$entry")) && ($endung == 'jpg') && substr($entry, 0, 6) <> "thumb_")
A better solution, however, would be to use the thumbnails generated by the ImageManager or, if images are uploaded by ftp, create thumbs with the filename and location used by ImageManager. Or maybe even change the ImageManager code instead?

Problem fixed in v.1.3
Posted: Fri Mar 03, 2006 11:23 am
by katon
Ok, the duplicate thumbs problem is fixed in version 1.3.