Hi,
What does $ro->gen('image') output if not the correct url?
Koen
> -----Oorspronkelijk bericht-----
> Van: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Namens Liutauras
> Verzonden: dinsdag 3 juli 2007 12:58
> Aan: [email protected]
> Onderwerp: Re: [Agavi-Users] How to output dynamically created image?
>
> Changed view like u said but the output is possible only when
> i go to url http://www.sitename.lt2/lt/image , but image <img
> src="<?= $ro->gen('image'); ?>" alt="paveiksliuko vieta" />
> is not working, where my mistake?
> Thanks!
>
> public function executeImage_png(AgaviRequestDataHolder $rd) {
> ob_start();
> $im = imagecreatefrompng("redfade.png");
> $image=imagepng($im);
> ob_get_contents();
>
> $this->getResponse()->setContentType('image/png');
> $this->getResponse()->setContent($image);
>
> }
>
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.agavi.org/mailman/listinfo/users
>
_______________________________________________
users mailing list
[email protected]
http://lists.agavi.org/mailman/listinfo/users