I've tried to reply to this thread three times to explain what I ended up
with but they just aren't coming through... lets try again...


Basically, 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 code 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 and ideas. Much appreciated.






-----Original Message-----
From: UXB Internet [mailto:[email protected]] 
Sent: Thursday, June 03, 2010 1:51 PM
To: cf-talk
Subject: RE: imageRead plus imagepaste plus imageGetBlob issue


>> You are right though, I am most likely headed to a solution that involves
>> watermarking the images permanently.

If the images are never going to be used on the site without a watermark
then you will save substantial processing time by doing so.  We have a
website that allows people to upload a picture which we mark, then they can
caption them aka lolcats.com style.  So a particular image could have many
different captions marked on it. 

When I first designed it all watermarks were on the fly but after a few days
of testing I found I was bogging the server down with extensive processing
even though as you say there was a satisfaction of the magic behind it.  Now
instead we mark the images once and save copies and reference them.  It
takes up more space but hard drive space was a lot cheaper than more
processing power.

You can see it here: http://www.lameorgame.com 


Dennis Powers
UXB Internet - A Website Design & Hosting Company
P.O. Box 6028
Wolcott, CT 06716
203-879-2844
http://www.uxbinternet.com






~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:334293
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to