Getting thumbnail for image not full image from imageselecto

Posted by Community Admin on 04-Aug-2018 02:17

Getting thumbnail for image not full image from imageselector

All Replies

Posted by Community Admin on 24-Jan-2015 00:00

I thought a widget I made was working as intended, but something changed and now my image selector in a designer is returning an images thumbnail and not the full image. Major things I've done was some optimizations and tweaks (claims based to forms, smtp, etc) and I think that should impact the selector but I think something did. The JS that gets me the thumbnail (I checked the value) is 

        // save selected image
        var i = this.get_ImageSelector();
        alert("image = " + i + "\r\n" +
            "value = " + i.get_value());
        controlData.SelectedImageSrc = i.get_value();

 

Is there another method I should call? Or is something else affecting the return value? I am googling but this is odd...

Posted by Community Admin on 24-Jan-2015 00:00

www.sitefinity.com/.../thumbnail-displayed-when-picked-from-custom-widget

 Going to go with removing '.tmb-' from the string. Later revisiting if issue. :S

This thread is closed