Forums / General / images for the welcome page
santosh kumar
Thursday 04 December 2003 5:28:26 am
hi all, i m bldg a website ,for which i ahve gone thru the tutorial of bldg a website . i want to know how can image be added in the BODY of text in the admin panel. please reply back thanx santosh
Alex Jones
Thursday 04 December 2003 6:19:54 am
This could be accomplished in a couple of ways. You could upload the image to the system (using the Image class) and then when you are editing the text you want use the Related Objects box on the right to locate the image. Once you do that, simply cut and paste the object tag it provides you into the text box. This may not be ideal though, as you may not like how it is formatted initially.
You could also create a custom tag for the image, which is helpful if you want to re-use that image in multiple places: http://ez.no/developer/ez_publish_3/documentation/customization/components/datatypes/ezxmltext/custom_tags
Alex
Alex [ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ] <i>When in doubt, clear the cache.</i>