$text = "lorem ipsum <img src='....' alt='...' /> dolor";
by that, with the PHP function or regular expression of your choice:
$text = "lorem ipsum <custom name='img' src='...' alt='...' /> dolor";
I hope this may help some.
PS: be careful with "width" attribute, it is already used by something else and it will be automatically fill with "100%", whatever the content of your attribute.
TOMHTML, French user of eZ Publish.
You must be logged in to post messages in this topic!