Imagecopyof (attribute of property)
From JRapid
(Redirected from Imagecopyof)
imagecopyof is an attribute of property.
Contents |
Description
The imagecopyof attribute automatically generates a separate copy of the specified image property. It can be used in conjunction with the width (attribute of property) and height (attribute of property) attributes to specify the generated image's dimensions.
Usage
<property
name = NAME
label = LABEL
type = "image"
imagecopyof = IMAGE
width = WIDTH
height = HEIGHT
/>
Example
Creating a 100px x 100px "logo" thumbnail property for a Company.
<entity label="Company" menu="Company" name="Company">
...
<property display="secondary" height="600" label="Image" name="image" type="image" width="800"/>
<property height="100" hidden="hidden" imagecopyof="image" label="Logo" name="logo" type="image"
width="100"/>
...
</entity>
