Path

ez projects / sqliimport / forum / general / import image in attribute b...

Attention please: Due to restructuring legacy services, the eZ Projects service is going to be discontinued. All the current repositories will be migrated to a new platform. More details will be announced soon.

Import image in attribute block XML

You need to be logged in to post messages in the forums. New users may register here.

Abdelkader RHOUATI

Member since:
09 January 2008

Posts: 6

Friday 29 October 2010 12:10:57 pm

Hi,

I want to import an HTML code to an attribute Block Xml. The HTML contains several images, like this : <img src="../images/an_image_test.jpg" />

The function SQLIContentUtils::getRichContent() don't allows this, and it delete the img tag.

It will be a great if you can integrate this feature in sqliimport.

How :
1- Browse the html code, and recover img tags,
2- Creating images in BO
3- Add an attribute id to img tag, like this "eZObject_ [contentobject_id of object image]" OR "eZNode_ [node_id of node image]"

TKS

Abdelkader RHOUATI

Blog (french) : http://arhouati.com
----
Extension arh_jdebug : EzDebug using jquery

Up

You need to be logged in to post messages in the forums. New users may register here.