How to use html5smartimage in multifield or multicompositefield along with the properties like image title, description, etc | Community
Skip to main content
Dinu_Arya
Level 6
October 16, 2015
Solved

How to use html5smartimage in multifield or multicompositefield along with the properties like image title, description, etc

  • October 16, 2015
  • 5 replies
  • 1767 views

Hi,

I have a requirement that I've to use html5smartimage in multifield/multicompositefield. Along with this widget, I have some properties like title, description. Whenever I click "Add" or "+", it has to add another set of these 3 fields. I've to crop some of the images while authoring. That's why I'm using html5smartimage. I have to image details along with the image. Any solution? Do we have technical document for this in forums? Please let me know the solutio ASAP.

Thanks,

Arya.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by smacdonald2008

See this AEM Article - it walks you through creating an in-depth component that uses these xtypes:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

5 replies

Sham_HC
Level 10
October 16, 2015
smacdonald2008
smacdonald2008Accepted solution
Level 10
October 16, 2015

See this AEM Article - it walks you through creating an in-depth component that uses these xtypes:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

Dinu_Arya
Dinu_AryaAuthor
Level 6
October 16, 2015

Hi,

@Sham: I've already gone through  the 1st link. In that the extra properties like title, description are not appearing in the dialog whenever we author again. Also, as suggested in link2(custom xtype - mypathfield) - I have tried by creating object to CQ.html5.form.SmartImage. But it is also not worked properly. Is there any other way? Thanks for the suggestions.

@Scott: Thanks. I've a glance at it. I didn't find the combination of image(html5smartimage) field with ay other widget. May I know in the given doc which scenario of custom xtype suits my requirement easily? So that I can customize it. Anyway I will try it once....

Thanks,

Arya.

Sham_HC
Level 10
October 16, 2015

Dinu_Arya wrote...

@Sham: I've already gone through  the 1st link. In that the extra properties like title, description are not appearing in the dialog whenever we author again. Also, as suggested in link2(custom xtype - mypathfield) - I have tried by creating object to CQ.html5.form.SmartImage. But it is also not worked properly. Is there any other way? 

 

Those are the closest article matching your requirement that i am aware of.  I am pretty sure will work if you tune it correctly with your requirement. 

Love_Sharma
Level 4
October 16, 2015

@ Dinu_Arya : I was going through the blog and came across your post which is what I was looking for. I need to have multiwidget with image and link url in my case.
If you were able to resolve your issue could you please share some info ?

Thanks