[opencms-dev] xmlpage doesn't parse images in input fields of type image
Graeme Kidd
coolkidd3 at hotmail.com
Fri Aug 27 22:18:21 CEST 2010
Hi,
I noticed that images inside "Pages with free text" (xmlpage) get their src attributes parsed and converted to macros (e.g. %(link0) ). This macro is then related to a link element within the control code which is then linked with the UUID of the image:
< link name="link0" internal="true" type="IMG">
< target>< ![C DATA[/sites/default/index-1.jpg ] ]>< /target>
< uuid>14a86c32-9b13-11df-9a32-005056982fa2< /uuid>
< /link>
However when I create an input field of type image e.g.
< input type="image" src="submit.gif" alt="Submit" />
The src attribute does not get picked up and converted to a macro meaning there is no relationship between the image path given in the HTML and the VFS. Does anyone know how I can get it so input tags are picked up as well as image tags? If not could this be an improvement in the next release?
Thanks,
Graeme
More information about the opencms-dev
mailing list