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: creating normal_ and thumb_ 'on the fly'  (Read 2608 times)

0 Members and 1 Guest are viewing this topic.

GGallery

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 61
creating normal_ and thumb_ 'on the fly'
« on: June 10, 2004, 01:09:24 am »

is there an option/mod to create the normal_ and thumb_ pics 'on the fly' if they are missing (e.g. if a find -atime -exec rm removed them after n days to save some space or a disk crashed and the backup was played back etc...)
Logged

hyperion

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Posts: 1317
  • - retired -
Re: creating normal_ and thumb_ 'on the fly'
« Reply #1 on: June 10, 2004, 01:39:38 am »

No, but you might look at the in the fly watermark mods for some ideas.
Logged
"Then, Fletch," that bright creature said to him, and the voice was very kind, "let's begin with level flight . . . ."

-Richard Bach, Jonathan Livingston Seagull

(https://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

GGallery

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 61
Re: creating normal_ and thumb_ 'on the fly'
« Reply #2 on: June 10, 2004, 02:39:36 am »

thx... I think I'll just write an apache-404 exception handler to handle the missing thumbs...  and I can save the the overhead to always stat()
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 20 queries.