I think the best way is to write the images to a file, and store
references to them in the database. That way, if you want to load them
via a Cake action, you can do the db lookup, and either redirect to the
file, or open the file and output the contents, along with the
appropriate header.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.88.14 with SMTP id l14mr43970cwb;
Mon, 22 May 2006 12:08:33 -0700 (PDT)
X-Google-Token: KdPMjAwAAAAKfuY0reb0fIktw0HybQN0
Received: from 71.232.44.107 by i39g2000cwa.googlegroups.com with HTTP;
Mon, 22 May 2006 19:08:33 +0000 (UTC)
From: "nate" <[EMAIL PROTECTED]>
To: "Cake PHP" <[email protected]>
Subject: Re: Image Caching
Date: Mon, 22 May 2006 19:08:33 -0000
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/418
(KHTML, like Gecko) Safari/417.9.3,gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
I think the best way is to write the images to a file, and store
references to them in the database. That way, if you want to load them
via a Cake action, you can do the db lookup, and either redirect to the
file, or open the file and output the contents, along with the
appropriate header.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---