|CakePHP Official Site · Rules and Regulations||Help Search Members Calendar Shoutbox|
|Welcome Guest ( Log In | Register )||Resend Validation Email|
Posted: Apr 19 2011, 09:09 AM
Member No.: 2799
Joined: 19-April 11
I'm looking for a way to display a blob image into a view.
With a simple website (not CakePHP) this was very simple, just retrieve the blob field from db and then print it after the specific of Content-type, like this:
I don't know why with CakePHP I'm going crazy!! I've write the controller like this:
and the view load_image.ctp like this:
The result is a blank page with nothing to display. If I comment the Content-type the view display only a lot of chars... I've also try to call this from img tag in an another view, for example:
Where is the error??