Page 1 of 1

[SOLVED] Image_rotator not finding jpg files

Posted: Wed Jul 23, 2008 11:14 am
by planegoofy
Hi all,

I am having a little problem with Image_Rotator..

But first, some system background info:
CMSMS - 1.3.1, MYSQL - 5.0.44, Apache - 1.3.37, PHP Module - 4.4, PHP CGI - 4.3 on Linux w/ 2.4.33 kernel.

The problem I am running into with Image_rotator is that it does not recognize jpg files in a folder. It will show gif and png files fine. I have tried both versions 1.7 (1st) and then downgraded to 1.6 with no luck. I don't know if it matters but I am able to use and view jpgs fine from the album module.  The address for the site that I am working on is http://www.abcdpittsburgh.org/abcdwny/sandbox/cmsms.

Thanks.

Jeff

Re: Image_rotator not finding <s>jpg files</s> files in listed folders or recursvely

Posted: Wed Jul 23, 2008 4:41 pm
by planegoofy
OK, just realized jpg's were working but only if placed in the default folder (uploads/images/) If I try to specify a folder  such as uploads/images/2008/education/SpringConference/ or set max depth to 3, it does not find the jpg files in that folder. Is there a limit on the folder depth that image_rotator can work through? I am using 1.6 right now but will reinstall 1.7 and try as well. I am also going to upload another folder of images and see what happens. Thanks.

Jeff

Re: [SOLVED] Image_rotator not finding jpg files

Posted: Wed Jul 23, 2008 5:09 pm
by planegoofy
First let me preface this with I am primarily a Windows user (Not necessarily by choice) but I do run Puppy Linux on my Laptop.

It seems that the image_rotator tag is not case agnostic. In other words 1.JPG will not be found where as 1.jpg will be found and displayed! AHHHHH!!!!!!!!! (Windows, of course, doesn't see the distinction, It's just not smart enough I guess!)

I hope this helps somebody else from the same mistakes.

Thanks for the wonderful module (It works great now!!!!)

Jeff

Re: [SOLVED all most] Image_rotator not finding jpg files

Posted: Fri Sep 12, 2008 4:50 am
by alvin
planegoofy wrote:
It seems that the image_rotator tag is not case agnostic. In other words 1.JPG will not be found where as 1.jpg will be found and displayed! AHHHHH!!!!!!!!! (Windows, of course, doesn't see the distinction, It's just not smart enough I guess!)

I hope this helps somebody else from the same mistakes.

Thanks for the wonderful module (It works great now!!!!)

Jeff
Ya Man, I have the same problem...

I have a program that batch processes my photos, but it saves them with an all caps extension.  Not to good for this rotator.

I tried to use the (allowextension)parameter, but that did not work.

Is there any way for me to get this script to work with an all caps extension?

Please let me know, Thanks

AM

Re: [SOLVED all most] Image_rotator not finding jpg files

Posted: Fri Sep 12, 2008 6:54 am
by alby
alvin wrote:
planegoofy wrote: It seems that the image_rotator tag is not case agnostic. In other words 1.JPG will not be found where as 1.jpg will be found and displayed! AHHHHH!!!!!!!!! (Windows, of course, doesn't see the distinction, It's just not smart enough I guess!)

I hope this helps somebody else from the same mistakes.

Thanks for the wonderful module (It works great now!!!!)
I have a program that batch processes my photos, but it saves them with an all caps extension.  Not to good for this rotator.

I tried to use the (allowextension)parameter, but that did not work.

Is there any way for me to get this script to work with an all caps extension?
Try to use 1.7b and report if works

Alby

Re: [SOLVED] Image_rotator not finding jpg files

Posted: Sat Sep 13, 2008 3:29 am
by alvin
No Alby, It don't work...

AM

Re: [SOLVED] Image_rotator not finding jpg files

Posted: Sat Sep 13, 2008 8:46 am
by alby
alvin wrote: No Alby, It don't work...
I forgot this statement: tag don't force lower case but but search for extensions in allowextension param ONLY

add param allowextension with your extensions: gif,jpg,png,GIF,JPG,PNG

Alby

Re: [SOLVED] Image_rotator not finding jpg files

Posted: Sat Sep 13, 2008 6:32 pm
by alvin
alby wrote:
alvin wrote: No Alby, It don't work...


add param allowextension with your extensions: gif,jpg,png,GIF,JPG,PNG

Alby
Hello Alby
This is my tag,  I have some test images in the folder with diff extensions, the JPG won't show, Let me know if you see something wrong with the tag?

AM

{image_rotator allowextension='gif,jpg,png,GIF,JPG,PNG' speed='4' folder='uploads/images/random/'}

Re: [SOLVED] Image_rotator not finding jpg files

Posted: Sun Sep 14, 2008 4:28 pm
by alby
alvin wrote: This is my tag,  I have some test images in the folder with diff extensions, the JPG won't show, Let me know if you see something wrong with the tag?

{image_rotator allowextension='gif,jpg,png,GIF,JPG,PNG' speed='4' folder='uploads/images/random/'}
My test is ok:

{image_rotator allowextension='gif,jpg,png' debug=1}



{image_rotator allowextension='gif,jpg,png,GIF,JPG,PNG' debug=1}




Alby