creating normal_ and thumb_ 'on the fly' creating normal_ and thumb_ 'on the fly'
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

creating normal_ and thumb_ 'on the fly'

Started by GGallery, June 10, 2004, 01:09:24 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GGallery

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...)

hyperion

No, but you might look at the in the fly watermark mods for some ideas.
"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://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fwww.mozilla.org%2Fproducts%2Ffirefox%2Fbuttons%2Fgetfirefox_small.png&hash=9f6d645801cbc882a52f0ee76cfeda02625fc537)

GGallery

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()