21286 Posts in 5733 Topics by 2602 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 601 Views |
-
Return GD generated Image

21 December 2010 at 4:21am
Hi guys,
I am trying to display a GD generated image in a template but I am not sure how.
I tried adding a custom controller that generates the image in a img tag (<img src="controller_url_handle">) but it does not work.
The problem is that the image is generated OK but the output has also the HTML Header set by Silverstripe.Is there a way to output raw data without any headers attached (or only the ones I set) ?
Thanks in advance.
-
Re: Return GD generated Image

23 December 2010 at 9:57am
Why not useing the buildin SilverStripe Image Class?
| 601 Views | ||
|
Page:
1
|
Go to Top |


