I need to get the url of the image in code-behind because I need to use as a background image. .ImageControl is always null.
There is some code here (https://devnet.kentico.com/questions/retrieve-image-url-from-cms-cmseditableimage-in-code) but this relates to to an ASPX page, not a web-part and it doesn't work.
I'd recommend removing editable image from a page template, but adding appropriate field to a page type, so content editor still can add/upload an image and you use it the way you need. Editable image is not intended to be a background.
Its a web-part if that makes any difference (ultimately used as a widget)? My only other fields are text areas, so i wouldn't want the user to have to go in and configure widget just to select an image.
Please, sign in to be able to submit a new answer.