I don't think there are examples OOTB. But since images are DataResource as
well, it should work if you follow the scheme in
DemoRentalProduct.xml
I'd just try to replace the dataResourceTypeId="ELECTRONIC_TEXT" by
dataResourceTypeId="IMAGE_OBJECT" and follow IMAGE_OBJECT
examples of use
You might also use another DataResourceTypes
like OFBIZ_FILE or
CONTEXT_FILE, or even
URL_RESOURCE, etc.
See DataResourceTypes in ContentTypeData.xml and related examples of use which best suit your need. This is how, most of the time,
OFBiz should be used: help yourself with OOTB examples ;o)
Have fun
Jacques
From: "Mike" <[email protected]>
I want to create product images that has a "Free Shipping" boarder in
various languages. Depending on the locale of the users browser, it would
display images that are specifically created for that language. Is this
possible in OFBiz?
I know for product/catalog descriptions, the base product entity
descriptions need to be blank and they are picked up by electronic_text and
data_resource entities. Would this also work for images as well? Are
there any examples?
Thanks