[SOLVED] Image_rotator not finding jpg files

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Locked
planegoofy

[SOLVED] Image_rotator not finding jpg files

Post 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
Last edited by planegoofy on Wed Jul 23, 2008 5:05 pm, edited 1 time in total.
planegoofy

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

Post 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
planegoofy

Re: [SOLVED] Image_rotator not finding jpg files

Post 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
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

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

Post 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
alby

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

Post 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
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

Re: [SOLVED] Image_rotator not finding jpg files

Post by alvin »

No Alby, It don't work...

AM
alby

Re: [SOLVED] Image_rotator not finding jpg files

Post 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
alvin
Forum Members
Forum Members
Posts: 23
Joined: Thu Dec 20, 2007 8:28 pm

Re: [SOLVED] Image_rotator not finding jpg files

Post 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/'}
alby

Re: [SOLVED] Image_rotator not finding jpg files

Post 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
Locked

Return to “Modules/Add-Ons”