Uploading Images fail

Phoca Gallery - image gallery extension
ghog
Phoca Member
Phoca Member
Posts: 13
Joined: 13 Dec 2007, 07:44

Uploading Images fail

Post by ghog »

I am trying to add images to my gallery categories however phoca is not generating the thumbnail and instead just renders a white box. If I click on this I receive the following error:

[code]getimagesize(/home/wwwpart/public_html/images/phocagallery/indecent/june_08/thumbs/phoca_thumb_l_MG_5651.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/wwwpart/public_html/administrator/components/com_phocagallery/helpers/phocagallery.php on line 43[/code]
ghog
Phoca Member
Phoca Member
Posts: 13
Joined: 13 Dec 2007, 07:44

Re: Uploading Images fail

Post by ghog »

Any ideas what could be causing this Jan?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Uploading Images fail

Post by Jan »

Hi, maybe you have some problems with GD library on your server, maybe the thumbnail is not created (GD, php memory ???)

Jan
If you find Phoca extensions useful, please support the project
RichardGase
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 28 Jul 2008, 20:51

Re: Uploading Images fail

Post by RichardGase »

See the topic about thumbnail does not work. You have to rezise your photo's to about 1024 x ..... keep aspect ratio or 1280 x ..... When you upload photo's direct out of the camera there are to many pixels. A photo form about 3 to 4 MB in JPEG format contains about 25 to 30 Megapixels, the GD library can handle a picture that's about 10 megapixels. So if you do not pre procces the photo's the GD library functions tresses and you get the fatal error message. So first photoshop the images to the right size. :D

Greeting, Richard - Netherlands
Post Reply