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

Forums / Developing with Sitefinity / Getting ImageUrl with appended text while upload image in custom widget

Getting ImageUrl with appended text while upload image in custom widget

2 posts, 0 answered
  1. Gnanapragasam
    Gnanapragasam avatar
    3 posts
    Registered:
    28 Aug 2014
    29 Oct 2014
    Link to this post

    Hi,

     While uploading Image in Custom Widget getting imageurl with appended text.Because of this appended text image getting compressed.once we remove that text we are getting actual uploaded image.

    Example:http://localhost/images/album/pages/product-1423d6dd725556b84a496ff0600c2e674.tmb-.jpg?sfvrsn=1

  2. Ivan D. Dimitrov
    Ivan D. Dimitrov avatar
    310 posts
    Registered:
    26 Mar 2015
    03 Nov 2014
    Link to this post
    Hello Gnanapragasam,

    Have you considered trimming the last 8 characters of the url inside your widget itself? I can see that you are referring to the thumbnail and it is normal for Sitefinity to add the sfvrsn at the end of the URL in order to avoid any cache problems given that the image was altered. This is our default implementation.

    Regards,
    Ivan D. Dimitrov
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered