Image is not showing up on Dialog.
hi guys
getting problem dialog. in dialog have created image field accepts image dam drag , drop. whil iam dropping image showing inside dialog , showing on screen when try edit image current image got vanished inside dialog. don't understand why happening?
while uploading
the above image not showing while editing. please me doing wrong?
here dialog.xml
| <normalmode | |
| jcr:primarytype="cq:widget" | |
| collapsed="{boolean}false" | |
| collapsible="{boolean}false" | |
| hidden="{boolean}false" | |
| title="picture properties" | |
| xtype="dialogfieldset"> | |
| <items jcr:primarytype="cq:widgetcollection"> | |
| <pictureurl | |
| jcr:primarytype="cq:widget" | |
| allowupload="{boolean}true" | |
| autouploaddelay="1" | |
| ddgroups="[media]" | |
| fieldlabel="picture link" | |
| filenameparameter="./filename" | |
| filereferenceparameter="./filereference" | |
| height="{long}200" | |
| name="./file" | |
| requestsuffix="/image.img.png" | |
| rootpath="/etc/designs/aib/business/images" | |
| sizelimit="100" | |
| uploadurl="/tmp/upload_test/*" | |
| xtype="html5smartimage"/> | |
| <picturealttext | |
| jcr:primarytype="cq:widget" | |
| fieldlabel="picture alt text" | |
| name="./picturealttext" | |
| xtype="textfield"/> | |
| <picturetitletext | |
| jcr:primarytype="cq:widget" | |
| fieldlabel="picture title text" | |
| name="./picturetitletext" | |
| xtype="textfield"/> | |
| </items> | |
| </normalmode> |
cheers
kirthi
hi kirthi,
you need create hidden property in order able edit image. create node below image node , set hidden property. can refer :
/libs/foundation/components/textimage/dialog/items/tab3/items/restype
e.g.
<items jcr:primarytype="cq:widgetcollection">
<restype
jcr:primarytype="cq:widget"
ignoredata="{boolean}true"
name="./sling:resourcetype"
value="foundation/components/image"
xtype="hidden"/>
</items>
More discussions in Archived Spaces
adobe
Comments
Post a Comment