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

Forums / Developing with Sitefinity / [video].tmb.ashx

[video].tmb.ashx

5 posts, 0 answered
  1. LouiseBA
    LouiseBA avatar
    61 posts
    Registered:
    23 Mar 2010
    21 Apr 2011
    Link to this post
    Hello, uploading a video to the images and documents module creates a property of the library item called ThumbnailUrl. I want to display the thumbs of the videos in a little list in a custom control.

    When I try and navigate to this thumbnail (which works for image thumbs) I get a 404. so it cant find the thumb image. Can anyone help with this?

    i.e.

    http://[xxx].co.uk/Libraries/video_gallery/commscast.tmb.ashx

    thanks, louise
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    25 Apr 2011
    Link to this post
    Hello LouiseBA,

    Please make sure that you are using the proper url. You can inspect the HTML when you are in the library and copy the thumbnail url. If you see the thumb when you preview the library there is no reason to get 404 when you paste the url directly in the browser, since this is the same request, unless you have some logic that breaks this.

    All the best,
    Ivan Dimitrov
    the Telerik team

  3. LouiseBA
    LouiseBA avatar
    61 posts
    Registered:
    23 Mar 2010
    25 Apr 2011
    Link to this post
    Hi Ivan, thanks for your reply. I dont know why but it wont store a thumbnail, it wont generate one. In my video library I have 5 uploaded videos, in light grey boxes, with the title, and a box above which looks like a thumbnail would normally appear there.

    <dd class="image">
                        <a href="/en-GB/sitefinity/admin/Modules.aspx?module=Libraries&amp;route=LibrariesControlPanel.LibraryItemsView.LibraryItemPreview&amp;ParentId=4ee0e6ce-3ff3-4bde-86ef-81b76f565563&amp;RadUrid=9ba80536-5670-444b-955c-e1eccac1c660&amp;Param=5a46b708-47c8-4318-abd5-cb9217b28f24" commandname="View" id="ctl00_ContentPlaceHolder1_contolPanel_ctl00_ctl01_ctl00_ctl00_ctl00_ctl00_imagesList_ctl02_itemImage"><img style="border-width: 0px;" src="" id="ctl00_ContentPlaceHolder1_contolPanel_ctl00_ctl01_ctl00_ctl00_ctl00_ctl00_imagesList_ctl02_thumbImage"></a></dd>

    But there arent any thumbnails showing for any of my videos. Is this a manual process, uploading a thumbnail, or should it generate one automatically?

    Then if I drag in a video library, I get a list of titles, no thumbs. Cant see a thumb in the entire system (despite it having a thumbnail url in the properties when using the API)..

    Why cant I see a thumb anywhere?!

    Thanks, Louise

  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Apr 2011
    Link to this post
    Hi LouiseBA,

    There is a known issue if you use Windows Server 2008 and if you are running in medium trust. Another reason would be if you use Chrome browser.

    All the best,
    Ivan Dimitrov
    the Telerik team

  5. Nicholas Del Conte
    Nicholas Del Conte avatar
    1 posts
    Registered:
    29 Apr 2010
    10 Aug 2011
    Link to this post
    please ignore this message thank you.
Register for webinar
5 posts, 0 answered