forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: lykman on December 19, 2003, 12:05:34 am

Title: re-creation of thumbs.
Post by: lykman on December 19, 2003, 12:05:34 am
It would be nice if cpg could create thumbs at anytime admin request it, and not only on uploading...

see here (http://forum.coppermine-gallery.net/index.php?topic=2536) why...
Title: Re: re-creation of thumbs.
Post by: wormie_dk on December 20, 2003, 12:16:27 am
Quote from: "lykman"
It would be nice if cpg could create thumbs at anytime admin request it, and not only on uploading...

see here (http://forum.coppermine-gallery.net/index.php?topic=2536) why...

Go the admin menu and select - Resize pictures. Here you can rebuild thumbs and or intermediate pictures one album at a time...

//David
Title: Re: re-creation of thumbs.
Post by: lykman on December 21, 2003, 12:03:23 am
Quote from: "wormie_dk"

Go the admin menu and select - Resize pictures. Here you can rebuild thumbs and or intermediate pictures one album at a time...

//David


You mean with the util.php...
That's what I've tried, but it doesn't work if the thumbs are completely deleted. It cannot continue and gives an error "pictures are not available" or something like that...
Title: re-creation of thumbs.
Post by: wormie_dk on December 21, 2003, 10:01:17 am
Are you sure the permissions for the folder are set correctly?

I have just tried deleting some thumbs from my own album and coppermine rebuilds them correctly.

Do the database list the correct placement/filename of the pictures?
Title: re-creation of thumbs.
Post by: lykman on December 24, 2003, 08:42:04 am
my albums (userpics and its subdirs) are set to 755...

Code: [Select]
Warning: imagejpeg(): Unable to open 'albums/userpics/xxx/thumb_xxx.jpg' for writing in /home/xxxxxxx/include/picmgmt.inc.php on line 185

Warning: chmod(): No such file or directory in /home/xxxxxxx/include/picmgmt.inc.php on line 191

Warning: getimagesize(albums/userpics/xxx/thumb_xxx.jpg): failed to open stream: No such file or directory in /home/xxxxxxx/include/picmgmt.inc.php on line 193
Error creation of: $thumb

That's what I get... I tried again.

The database was untouched... when I recreated the thumbs locally on my HD an uploaded them where I had them before the deletion , everything was normal again...