Saturday, July 31, 2010

Re: Problems with GD i Cake

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 <past...@gmail.com> 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 cake-php@googlegroups.com
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?hl=en

No comments: