Forums / General / Direct access to binary objects (images/etc)
Oree Eyo
Tuesday 26 July 2005 8:54:47 am
Hello. Im looking for a way to show an image from another site.My image is stored as a image class object in the content tree.
I need to show the image witout knowing the object ID (so i can't reffer to /var/storage...etc)
When I access "http://host/index.php/module/image" I'm getting the whole view of image as in a gallery.
What I need is simply the image (file). nothing else. ( so that I can acceess it using <img src=(my ezp site url)> )
Any idea?
Ćukasz Serwatka
Wednesday 27 July 2005 12:35:42 am
you can create custome tag e.g "extimg" where as a parameter you will set image path. Look into documentation for more info, how to create custom tag.
Example usage:
<extimg src="path_to_img" />
Personal website -> http://serwatka.net Blog (about eZ Publish) -> http://serwatka.net/blog