I get an error from getimagesize function

Phoca Gallery - image gallery extension
avidtrav
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Oct 2010, 08:39

I get an error from getimagesize function

Post by avidtrav »

I created a test gallery after reading documentation and watching demonstrations on youtube.

What does this error mean and how to I deal with it?


Warning: getimagesize(/images/phocagallery/Prague/thumbs/phoca_thumb_m_prague 1.jpg) [function.getimagesize]: failed to open stream: No such file or directory in /home/avidtrav/public_html/plugins/content/imageresize.php on line 37
...
avidtrav
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Oct 2010, 08:39

Re: I get an error from getimagesize function

Post by avidtrav »

Here's the html code for the gallery. I went to the directory on the server using ftp and the thumbnail images are there. So I don't understand why the image resize function cannot find them.

Prague:
The name Prague is derived from an old·Slavic root,·praga, which means “ford”, referring to the city's origin at a crossing point of the Vltava River. · It still boasts beautiful bridges and architecture, having been spared much of the destruction of World War II and only accidentally bombed late in the war.·



{phocagallery view=category|categoryid=5|limitstart=0|limitcount=4|imageordering=1}
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: I get an error from getimagesize function

Post by Jan »

Hi, seems like you have some permissons or ownership problem so getimagesize cannot read information from the images, the path to image seems like it is correct :idea:
Prague:
https://www.phoca.cz/wallpapers/gallery/ ... y/7-prague
https://www.phoca.cz/stockphoto/stock-ph ... y/1-prague
If you find Phoca extensions useful, please support the project
Post Reply