Re: How to display a BLOB object in VIEW
On Jan 18, 2011, at 22:35, pinastro wrote:
> I know there is already lot of text on this but most of them are like
> DOWNLOADING content from the BLOB object which is working perfectly
> but I want to display inside an image box in the VIEW
I would imagine your controller will need a separate action that only displays the image (perhaps using those techniques you read about for downloading the contents of a blob). Then, in your main view, where you want to display the image, you'll output an <img> tag whose href attribute is the URL of that other action.
--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home