Keyword
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.

Error message: Warning: getimagesize

  • Roderick de Wit
  • Roderick de Wit's Avatar Topic Author
  • Offline
  • New Member
More
16 years 10 months ago #10935 by Roderick de Wit
Error message: Warning: getimagesize was created by Roderick de Wit
I just bought Simple Image gallery PRO, but i get the error message when i want do display the images?;

Warning: getimagesize(/storage/mijndomein/users/012239/public/sites/www..nl/images/stories/fotomodule/fotomodule2.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /storage/mijndomein/users/012239/public/sites/www..nl/plugins/content/jwsigpro/sigpro_engine.php on line 86
Image type not supported

any idea how i can fix this?! ???

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 10 months ago #10936 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Error message: Warning: getimagesize
Hi my friend!

Check out if your server support ( is enabled ) the GD2 graphic library
and if support the common image type, as jpg, gif and png!

You can check this also from your administrator panel at
Menu -> System -> System Info -> (tab) Php info -> (section ) gd

a sample
gd
GD Support 	enabled
GD Version 	bundled (2.0.28 compatible)
FreeType Support 	enabled
FreeType Linkage 	with freetype
GIF Read Support 	enabled
GIF Create Support 	enabled
JPG Support 	enabled
PNG Support 	enabled
WBMP Support 	enabled
XBM Support 	enabled

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #10937 by Richard Simpson
Replied by Richard Simpson on topic Re: Error message: Warning: getimagesize
I just bought pro as well for J1.5 version - and had the exact same error, In my case it was due to a capital letter in the img filename as reported elsewhere on this forum. - the error message shows SIG is looking for a jpg file with all lower case letter and cant get it - if the file isn't actually in all lower case then it breaks the whole page.

Is there any chance to fix this bug - I have a lot of image folders and nearly all my images have capitilisation and are linked elsewhere so changing them all is a nightmare - SIG should not ignore the capitilisation of filenames as this will break on any Linux installation!

Rich

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 10 months ago #10938 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Error message: Warning: getimagesize
Hi my friend rich.simpson!

About this issue ( upper/lower images name ) you can try to do that.
Open to edit the sig mambot file, and remove some of the the reference at strtolower function

At line 140 change
$images[] = trim(strtolower($f));
to
$images[] = trim($f);

and at line 162 change
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim(strtolower($temp[0])))] = $temp[1];
to
$labels[md5($mosConfig_absolute_path.$rootfolder.$_images_dir_."/".trim($temp[0]))] = $temp[1];

Check this out and come back to tell me if work with you!
But after that remember to have at labels.txt the name of the image exactly as it!

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #10939 by Richard Simpson
Replied by Richard Simpson on topic Re: Error message: Warning: getimagesize
Thank you vinikey - that seems to work just fine!

Rich

Please Log in or Create an account to join the conversation.

More
16 years 10 months ago #10940 by Q|WebRuimte
Replied by Q|WebRuimte on topic Re: Error message: Warning: getimagesize
hi, I have the same problem as rich. But what file to I need to edit. I'm using the  joomla 1.5 version, and looked at the sigpro_engine.php file but I cannot find the thins at line 140 and 162 to change.

Am I opening the wrong file?

Please Log in or Create an account to join the conversation.

  • JoomlaWorks Support Team
  • JoomlaWorks Support Team's Avatar
  • Offline
  • Platinum Member
More
16 years 9 months ago #10941 by JoomlaWorks Support Team
Replied by JoomlaWorks Support Team on topic Re: Error message: Warning: getimagesize
Hi my friend!

You open to edit the mambot file
plugins/content/jwsigpro.php

Thank you!

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.

More
16 years 9 months ago #10942 by Johan Hultgren
Replied by Johan Hultgren on topic Re: Error message: Warning: getimagesize
Damn, I'm pretty stunned that this fix didn't make it to the latest release. I think even MS gone case sensitive.

Maby this should reach the trouble-shooting-part at the end of the plugin description: "I'f you actually paid for this and plan to use it, please rewrite our code at line..."

No sweat if it had stated just that.

ooooh I'm an angry, bitter man.
Now it works tho ...oh Joy!

Please Log in or Create an account to join the conversation.

More
15 years 10 months ago #10943 by dangelo
Replied by dangelo on topic Re: Error message: Warning: getimagesize
Thank you! I had the same problem! Someone must make this solution STICKY!!!!!
Many of us will find this post interesting!

Good Job!

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum