Most likely you aren't passing any headers so the browser knows it's
an image. If you don't output anything else on the page, you can
vardump it. Remember, you can deliver an image like that from within a
page that has other content. It has to be a separate browser request
(with proper headers)

On Jul 30, 4:37 am, Petter Andreas Strøm <[email protected]> wrote:
> Hi,
>
> I have some problems with using GD in Cakephp. Output from i.e. the
> imagejpeg() function reports just wrongly encoded data like: ...
> JFIF   ...
>
> So i was just wondering if anybody had any experience with this kind
> of problems, which seems to be an encodingproblem:P
>
> -thanks!

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" 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?hl=en

Reply via email to