FYI, I've got some sample code to show how you can use a scheduled
task to do this, or an event gateway.


On Thu, Jun 3, 2010 at 10:48 AM, DURETTE, STEVEN J (ATTASIAIT)
<[email protected]> wrote:
>
> Why don't you use a hybrid...  Drop the files in a directory, then when
> it's that files turn, check to see if a file of the same name is in a
> subdirectory called watermarked (or something like that). If it is just
> serve up the watermarked file.  If not have the process create the
> watermarked file and put it in the watermarked directory.
>
> This allows you the flexibility of dropping files in there without
> worrying about it and it will speed up the process because the older
> files will be static watermarked, and you still have the originals if
> you ever need un-watermarked files.
>
> Steve
>
>
> -----Original Message-----
> From: Bobby Hartsfield [mailto:[email protected]]
> Sent: Thursday, June 03, 2010 9:50 AM
> To: cf-talk
> Subject: Re: imageRead plus imagepaste plus imageGetBlob issue
>
>
> I gave up. Nothing that resolved the issue was a valid long term
> solution. I've watermarked the images manually and removed all of the
> code to handle it on the fly.
>
> I'll still use it in a tool that watermarks the images as I upload them
> I guess.
>
> So now it is very simple...
>
> <cfdirectory name="variables.mastImages" action="list"
> directory="#expandPath('/images/mastimages/')#" filter="*.jpg" />
>
> <cfset variables.mastImg = randRange(1,variables.mastImages.recordcount)
> />
>
> <cfheader name="Content-Disposition" value="inline;
> #variables.mastImages['name'][variables.mastImg]#">
>
> <cfcontent
> type="image/jpg" reset="true" file="#expandpath('/images/mastimages/'
> & variables.mastImages['name'][variables.mastImg])#" />
>
> Thanks for all the input.
>
>
>
>
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:334267
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to