ImageGallery tag does not work in version 1.5.3

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
phisk
Forum Members
Forum Members
Posts: 30
Joined: Thu Nov 09, 2006 6:36 am

ImageGallery tag does not work in version 1.5.3

Post by phisk »

Hi.
ImageGallery tag does not work in version 1.5.3. Could anyone please tell me, how I make i work?
blackhawk
Power Poster
Power Poster
Posts: 280
Joined: Mon Oct 20, 2008 6:07 pm

Re: ImageGallery tag does not work in version 1.5.3

Post by blackhawk »

im having the same trouble here too. 
gianpiero
Forum Members
Forum Members
Posts: 221
Joined: Sun Jan 07, 2007 4:32 pm
Location: Italy

Re: ImageGallery tag does not work in version 1.5.3

Post by gianpiero »

default its working for me with the simply tag

Code: Select all

{ImageGallery picFolder="uploads/images/myfolder/"}
but I'm testing how to use CSS and customization at now .
In 10 minutes I'm understandin ... almost nothing  ;)
A little help wil be very appreciated, about the association of the example style
that I find in "help"

I suppose that I have to create a style sheet ( near the others) and calling it into my template  ::)

bye gianpiero
Last edited by gianpiero on Thu Mar 19, 2009 9:15 pm, edited 1 time in total.
WebGirl

SOLVED : ImageGallery tag does not work in version 1.5.3

Post by WebGirl »

I'm using 1.5.2 and I couldn't get it to work either.

So I worked on something else for 15-20 mins, and I checked the folder of images in my ftp account, and voila!

New thumbnails had been created.

Now all is working well - and it should work in 1.5.3 as well, as there were only minor updates in 1.5.3.

So - the key to this little tag is -patience -

I've added numbers instead of imagenames by using

{ImageGallery picFolder="uploads/images/" bigPicCaption="number" thumbPicCaption="number"}

NOTE : You must have a closing slash mark after the name of your image folder!

Now, if anyone has worked out how to get proper CAPTIONS, I'd really love to know that.

The only instruction is:
bigPicCaption = "file" (filename including extension)


So - what does that mean? We create a new file like images-captions.html?
Do we create a new file with all the image names and their captions?
Or one new file per caption?
How should the file look?
Any tips at all? 

Hmmm - or say the image is called photo-hawaii-01.jpg, do we make a text file called photo-hawaii-01.txt - and type the caption inside that file, and upload it into the same image folder as the photo?

I'll test that and see if it works :)
Thanks!
Last edited by WebGirl on Sat May 02, 2009 4:39 am, edited 1 time in total.
phisk
Forum Members
Forum Members
Posts: 30
Joined: Thu Nov 09, 2006 6:36 am

Re: ImageGallery tag does not work in version 1.5.3

Post by phisk »

OK, it works with ver. 1.5.3, but I use ver. 1.5.4 - and it does not work at all with 1.5.4.
Allthough it is much easier to use ImageGallery, I have dropped it and use Album in stead. But I sure woulkd like to use ImageGallery again, as I run several websites - and some of them contain hundreds of images.
WebGirl

Re: ImageGallery tag does not work in version 1.5.3

Post by WebGirl »

Hey Phisk,

I spoke too soon :)

I deleted the images, and uploaded new images, and now it's hours later and the thumbnails still haven't been created ... so, no ImageGallery :(

When it works it's super, but such a shame it doesn't ...

I have played around with Album but it was a bit fiddly.

Back to the drawing board!

Good luck.
User avatar
Nullig
Power Poster
Power Poster
Posts: 2380
Joined: Fri Feb 02, 2007 4:31 pm
Location: Comox Valley, BC

Re: ImageGallery tag does not work in version 1.5.3

Post by Nullig »

If you open your images folder in Image Manager, the thumbs should be created.

Mullig
WebGirl

Solved: ImageGallery tag does not work in version 1.5.3

Post by WebGirl »

Sorry Nullig, half a day later and no thumbnails in the images folder :(

Is there any way to trigger this to work?

UPDATE - 10 minutes later - it's WORKING!! :)

I just posted another tag for ImageGallery on the same page as the one which wasn't working.

Clicked the Apply button.

Refreshed web page - and ALL images from both folders now appear! Woohoo!

Don't know what the magic was, but I've now deleted the unnecessary ImageGallery tag, and it's working great :D

I'm verrrry happy!
Last edited by WebGirl on Sat May 02, 2009 11:27 pm, edited 1 time in total.
gazzur
New Member
New Member
Posts: 4
Joined: Tue Jun 16, 2009 10:19 am

SOLVED Re: ImageGallery tag does not work in version 1.5.3

Post by gazzur »

I think it's an issue with the ImageGallery code itself. I fixed it by opening the tag file in plugins/function.ImageGallery.php and going to the following line (line 46 in my version):

Code: Select all

if( !is_dir($dir) || !is_readable($dir) ) return;
And replace it with the line:

Code: Select all

if( !is_dir($picFolder) || !is_readable($picFolder) ) return;
This solved the issue with me - hope it helps!
Post Reply

Return to “CMSMS Core”