Forums / General / Direct access to binary objects (images/etc)

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Direct access to binary objects (images/etc)

Author Message

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