I have not yet seen a property editor that supports this - I suppose that currently the only option is to write a custom controller by yourself perhaps?
How would you like such a property editor to work? Should it be possible to configure a range of images that should be selectable using a radio button, dropdown list etc.?
Could perhaps be an idea I would look at - But can't make any guarantees about a deadline though :)
Just to add, you could use the Xml RadioButton Picker (or the Xml PrefetchList Picker set to require one picked item) and configure it with the following data source options:
Xml Data = Media
Options XPath = //My-Media-Type
Key XPath = @id
As Jeavon mentions above, you could then set the custom label option to a macro that generates the desired markup based on a supplied key (in this case the media id)
Hello, Hendy, I have the same requirement and tried these solutions but below are some confusions can you please help me to solve that out.
1) Options XPath = //My-Media-Type
what is My-Media-Type and where it will be used?
2) for data source option third step macro code why we have used "Profile Picture" as we didn't give this alias anywhere while defining macro parameters
I followed the same steps mentioned here, you can see in below images
Datatype: image list
Hi,
Anyone have a datatype, where i can add image to choose from. Like a radiobutton, but with images instead.
Its for vers. 7.1.4
Hi Peter
I have not yet seen a property editor that supports this - I suppose that currently the only option is to write a custom controller by yourself perhaps?
How would you like such a property editor to work? Should it be possible to configure a range of images that should be selectable using a radio button, dropdown list etc.?
Could perhaps be an idea I would look at - But can't make any guarantees about a deadline though :)
/Jan
Hi,
It could be either a dropdown or radio button. Maybe select a media folder or image selection based on a custom Media type in datatype setup.
/Peter
nuComponents has the capability through its label Macro control where you can render what you like for the label.
There is a example here
Hi Peter,
Just to add, you could use the Xml RadioButton Picker (or the Xml PrefetchList Picker set to require one picked item) and configure it with the following data source options:
Hello, Hendy, I have the same requirement and tried these solutions but below are some confusions can you please help me to solve that out.
1) Options XPath = //My-Media-Type what is My-Media-Type and where it will be used?
2) for data source option third step macro code why we have used "Profile Picture" as we didn't give this alias anywhere while defining macro parameters
I followed the same steps mentioned here, you can see in below images
thanks for your answers!.
is working on a reply...