ASPX templates
Version 5.x > ASPX templates > EditableImage in aspx template View modes: 
User avatar
Member
Member
tomasella-bytix - 1/14/2011 4:18:58 AM
   
EditableImage in aspx template
Hi,

i want a solution from you guys how you will let me display a image without being logged on to the cms using EditableImage

with this line of code in CMSControls.CmsEditableImage on line 490:


// Display content only if authorized
if (PageManager.IsAuthorized)
{
if (ImageWidth > 0)
{
path = UrlHelper.AddParameterToUrl(path, "width", ImageWidth.ToString());
}
if (ImageHeight > 0)
{
path = UrlHelper.AddParameterToUrl(path, "height", ImageHeight.ToString());
}

imgImage.AlternateText = DataHelper.GetNotEmpty(AlternateText, "Image");
imgImage.ImageUrl = path;
}


now don't tell me you're going to fix this in version 6.0 because if this is so.... then we are going to change the CMS finally!!!!!

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 1/14/2011 7:54:36 AM
   
RE:EditableImage in aspx template
Hello,

If I understand your request correctly, then you can achieve uploading images, without beeing logged in into CMSDesk with our User's contribution module. Or you can create a new webpart based on the editable image webpart.

Best regards,
Boris Pocatko