coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: GGallery on June 10, 2004, 01:09:24 AM

Title: creating normal_ and thumb_ 'on the fly'
Post by: GGallery 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...)
Title: Re: creating normal_ and thumb_ 'on the fly'
Post by: hyperion on June 10, 2004, 01:39:38 AM
No, but you might look at the in the fly watermark mods for some ideas.
Title: Re: creating normal_ and thumb_ 'on the fly'
Post by: GGallery 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()