Re: Problems with GD i Cake

2010-07-31 Thread DCrews
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Problems with GD i Cake

2010-07-30 Thread Petter Andreas Strøm
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en


Re: Problems with GD i Cake

2010-07-30 Thread DragonFlyEye
You should include some code so we know what you're talking about.

Either way, probably not an issue with CakePHP.

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en