Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: re-creation of thumbs.  (Read 4078 times)

0 Members and 1 Guest are viewing this topic.

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbs.
« 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 why...
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!

wormie_dk

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 73
Re: re-creation of thumbs.
« Reply #1 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 why...

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

//David
Logged

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
Re: re-creation of thumbs.
« Reply #2 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...
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!

wormie_dk

  • Tester
  • Coppermine regular visitor
  • *
  • Offline Offline
  • Posts: 73
re-creation of thumbs.
« Reply #3 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?
Logged

lykman

  • Translator
  • Coppermine novice
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 22
    • http://www.dpgr.gr
re-creation of thumbs.
« Reply #4 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...
Logged
Coppermine is GREAT!!!

Problems with Greek lang of Coppermine? Contact me!
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.