Topic: Fatal error when running buildgallery

Hi,

Can someone help me please?

Fatal error: imagejpeg() [<a href='function.imagejpeg'>function.imagejpeg</a>]: Unable to open 'thumbs/small100_8978.jpg' for writing in /simpleviewer/buildgallery.php on line 213

thanks

Re: Fatal error when running buildgallery

Some files are processing but all files after this one make this error.
I tried to set the $useCopyResized = true; but always wrong.

Thanks for your help

Popeye

Re: Fatal error when running buildgallery

make sure that your files in thumbs and images folders are named exactly the same.

post back if that isn't the problem

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: Fatal error when running buildgallery

thanks for your answer,

I'm not sure i understand: i thought the buildgallery creates thumbnails and fill automatically the thumb directory. When i start the script there is nothing in thumb directory.

After the script (and the error) , the thumb directory is still empty...

Popeye

Re: Fatal error when running buildgallery

yeah, it does create it automatically, I wasn't thinking clearly. or at all smile

I'd try re naming that file .

Test it on a new build with only 6 or so images.

Richard

in order to better assist you, please provide a url, relevant code and details about your problem.
Thanks!

Re: Fatal error when running buildgallery

hi,

i think there is a problem on picture name. When i try with only 6 files, it works but i have a problem on right, and it ooks i can't change permission with filezilla, quite strange.....

i'll look better later

thanks for your help, i'll tell you the news

Popeye