- Posts: 5
COMMUNITY FORUM
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Bug & workaround: Cannot handle uppercase filenames! (have to be lowercase)
Please note that official support for commercial extensions & templates is provided in the Subscriber Help Desk.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Support requests should ONLY be directed there and require an active subscription plan.
This forum board is to be used for archive purposes and knowledge exchange ONLY.
Bug & workaround: Cannot handle uppercase filenames! (have to be lowercase)
- Vince Patron
- Topic Author
- Offline
- New Member
Less
More
16 years 8 months ago - 15 years 3 months ago #13209
by Vince Patron
Bug & workaround: Cannot handle uppercase filenames! (have to be lowercase) was created by Vince Patron
Hi,
I just downloaded the latest SIG Pro for Joomla 1.5 and found this bug: It errors out if the .jpg file in the gallery has any uppercase letters.
The error message is this:
Warning: getimagesize(/home/nortapd/test1/images/stories/nortap/Gallery-Solar/img_0110.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/nortapd/test1/plugins/content/jwsigpro/sigpro_engine.php on line 86
Image type not supported
The problem is that the filename is really "IMG_0110.jpg", but somehow the code is dropping the name to lower case. Obviously, the workaround is to rename the files to all lowercase.
But can you guys please fix it the right way? It's kind of a pain to have to rename the files. It's picking up the mixed case letters in the directory name, just the filename gets picked up incorrectly.
Thanks!
-Vince
I just downloaded the latest SIG Pro for Joomla 1.5 and found this bug: It errors out if the .jpg file in the gallery has any uppercase letters.
The error message is this:
Warning: getimagesize(/home/nortapd/test1/images/stories/nortap/Gallery-Solar/img_0110.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/nortapd/test1/plugins/content/jwsigpro/sigpro_engine.php on line 86
Image type not supported
The problem is that the filename is really "IMG_0110.jpg", but somehow the code is dropping the name to lower case. Obviously, the workaround is to rename the files to all lowercase.
But can you guys please fix it the right way? It's kind of a pain to have to rename the files. It's picking up the mixed case letters in the directory name, just the filename gets picked up incorrectly.
Thanks!
-Vince
Please Log in or Create an account to join the conversation.
- Vince Patron
- Topic Author
- Offline
- New Member
Less
More
- Posts: 5
16 years 8 months ago - 15 years 3 months ago #13210
by Vince Patron
Replied by Vince Patron on topic Re: Bug & workaround: Cannot handle uppercase filenames!
I guess I'm replying to myself... :) I fixed it as follows.
In the file plugins/content/jwsigpro.php
Line 140 reads:
This should be changed to:
Basically, just take out the function that forces the filenames to lower case.
-Vince
In the file plugins/content/jwsigpro.php
Line 140 reads:
$images[] = trim(strtolower($f));
This should be changed to:
$images[] = trim($f);
Basically, just take out the function that forces the filenames to lower case.
-Vince
Please Log in or Create an account to join the conversation.
- blackshadow
- Offline
- New Member
Less
More
- Posts: 10
16 years 7 months ago #13211
by blackshadow
Replied by blackshadow on topic Re: Bug & workaround: Cannot handle uppercase filenames!
Awesome work Vince - thank you so much!
Please Log in or Create an account to join the conversation.
- Burion
- Offline
- New Member
Less
More
- Posts: 4
16 years 6 months ago #13212
by Burion
Replied by Burion on topic Re: Bug & workaround: Cannot handle uppercase filenames!
Thanx Vince!! :D One of the most important tipps in this forum!!
Juergen
Juergen
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Platinum Member
Less
More
- Posts: 1188
16 years 6 months ago #13213
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic Re: Bug & workaround: Cannot handle uppercase filenames!
Hi my friends!
It's a bug for the plugin under the joomla 1.5...
We are working to publish a new version with several fixes.
One of them is the "strtolower" issue...
In this forum this bug is reported and answered several times!
Thank you again vpatron!
It's a bug for the plugin under the joomla 1.5...
We are working to publish a new version with several fixes.
One of them is the "strtolower" issue...
In this forum this bug is reported and answered several times!
Thank you again vpatron!
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- kruess
- Offline
- New Member
Less
More
- Posts: 2
16 years 6 months ago - 16 years 6 months ago #13214
by kruess
Replied by kruess on topic Re: Bug & workaround: Cannot handle uppercase filenames!
Hi vinikey,
The same "strtolower" problem for the labels few lines further down the jwsigpro.php (at line 162).
Hopefully that one is included in the buglist, too?
BfN,
Konrad
The same "strtolower" problem for the labels few lines further down the jwsigpro.php (at line 162).
Hopefully that one is included in the buglist, too?
BfN,
Konrad
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
- Offline
- Platinum Member
Less
More
- Posts: 1188
16 years 6 months ago #13215
by JoomlaWorks Support Team
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks Support Team on topic Re: Bug & workaround: Cannot handle uppercase filenames!
Of course! :)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Forum
- Commercial Joomla Extensions & Templates
- Simple Image Gallery PRO
- Bug & workaround: Cannot handle uppercase filenames! (have to be lowercase)