ImageFieldElement

Posted by Community Admin on 05-Aug-2018 13:06

ImageFieldElement

All Replies

Posted by Community Admin on 08-May-2011 00:00

Hi,

I have inserted ImageFieldElement in my modules definition along with FieldType (that is, Telerik.Sitefinity.Web.UI.Fields.ImageField).
My question is what field do I need to add to my Model with what data type?
And secondly, can I override functionality of ImageFieldElement and save just the file path in my string field defined in Model?

Thanks

Posted by Community Admin on 12-May-2011 00:00

Hi Saad,

The ImageField that you are referring to is used in the Sitefinity backend and implements some more advanced functionality (like uploading images through Silverlight, generating thumbnails, etc.). It would require some more work to plug it into your own module.

If you simply want to persist the URL of the selected image in a string custom field, take a look at the following article: http://www.sitefinity.com/40/help/developers-guide/how-to-how-to-create-a-thumbnail-selector-for-news.html

Best wishes,
Slavo
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get now >>

This thread is closed