Forums / Setup & design / PHP scripts like image. How to embed?
Aleksey Tik
Friday 01 February 2008 7:34:52 am
Hi everyone! I have a php script which generate an image. If i embed it in regular thml i simply use <img> tag and point "src" to my script. it looks like <img src="path/to/my/script.php"> / But in case eZ Publish I don't understand HOW i can do it? I can attach only an uploading content. but my script may hosted in another place (in another webserver, for example) and i can edit it sometimes. I can't upload it like "related objects".
How can i do this?
Thanks.
Nicolas Lescure
Friday 01 February 2008 12:44:19 pm
HI,
I see 2 ways to do this : - a template operator if you want to use this image in your own template- a new class with an embed view if you want to use the image like a related object, using the Online Editor
Hope this helps.
Saturday 02 February 2008 11:44:00 pm
Thanks, i'll try to do it.