Forums / General / Embedding images in an article/infopage

Embedding images in an article/infopage

Author Message

Jason Filby

Sunday 02 November 2003 9:40:46 am

Hi all

What's the best way to embed images into an article/infopage? It seems that the only way to do this is to use the HTML img tag - but the downside of that is that the image is in the filesystem instead of the database.

Any ideas on this welcome,

Thanks
Jason

Alex Jones

Monday 03 November 2003 6:55:22 am

Jason, you can add the image to eZ publish 3.2+ has a special area for media such as images I believe. Once the image is added to the system, you can choose it as a "Related Object" when editing your article. Then, you just cut and paste the <object> tag (which it will present you) into the article text wherever you want it to show up.

Alex

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Marco Zinn

Monday 03 November 2003 1:36:02 pm

Hi,
you can place your "image" objects anywhere in the tree, but the "media tab" is adviced, as this will give you preview thumbnail (very neat!.).

Just two hints:
1. Buy the online editor ;)
2. Currently, ez does _not_ allow images (or other related objects) inside a List (bullet or numbered). They will disappear.

Marco
http://www.hyperroad-design.com