+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Getting thumbnail for image not full image from imageselector

Getting thumbnail for image not full image from imageselector

2 posts, 0 answered
  1. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    24 Jan 2015
    Link to this post

    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...

  2. Richard
    Richard avatar
    103 posts
    Registered:
    04 Apr 2013
    24 Jan 2015 in reply to Richard
    Link to this post

    http://www.sitefinity.com/developer-network/forums/developing-with-sitefinity-/thumbnail-displayed-when-picked-from-custom-widget

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

2 posts, 0 answered