Forums / Bugs & Issues / Images in Images file system directory not accesible over Https

Images in Images file system directory not accesible over Https

6 posts, 1 answered
  1. Samir Vaidya
    Samir Vaidya avatar
    228 posts
    Registered:
    05 Feb 2005
    11 Sep 2011
    Link to this post
    I am trying to access this image stored in my Images directory in Sitefinity v. 4.2 over Https and I am not able to access it:

    https://www.troytennisacademy.com/Images/call-usimg.jpg

    Error in: https://www.troytennisacademy.com/Images/call-usimg.jpg
    Error Message: File not found.
    Stack Trace:
    at Telerik.Sitefinity.Modules.Libraries.Web.LibraryHttpHandler.SendResponseAndSetCaching(HttpRequest request, HttpResponse response, ICacheManager cache, String key) at Telerik.Sitefinity.Modules.Libraries.Web.LibraryHttpHandler.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    However, when my page is simply published over Http, the content is viewable!

    Please advise.
  2. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    24 Sep 2012
    14 Sep 2011
    Link to this post
    Hi Samir Vaidya,

    I wasn't able to access the image over HTTP as well. Are you sure that the URL is correct. What is the page that has the image in it and is viewable?

    Kind regards,
    Lubomir Velkov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
  3. Samir Vaidya
    Samir Vaidya avatar
    228 posts
    Registered:
    05 Feb 2005
    14 Sep 2011
    Link to this post
    The Url is referenced from a User Control (which contains a Telerik RadGrid) embedded within Sitefinity. 

    The example that I referred to that was functioning over Http using a Sitefinity website with the User Control that does not have the setting "Require SSL" checked on the page.

    I am not sure if that is standard behavior or not, but I have also noticed that I am unable to access any images from the file system in a Sitefinity secured site.

    Please advise.



  4. Lubomir Velkov
    Lubomir Velkov avatar
    688 posts
    Registered:
    24 Sep 2012
    16 Sep 2011
    Link to this post
    Hi Samir Vaidya,

    You can't access images that are in a folder named "Images" - this name is a reserved route for the Media content module. If you want the create a physical folder and put images there please use a different name than "Images".

    Regards,
    Lubomir Velkov
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
    Answered
  5. David Arnold
    David Arnold avatar
    12 posts
    Registered:
    31 Jul 2009
    05 Dec 2012
    Link to this post
    Is there a work around for this? We are implementing a client that has email newsletters out there that have references to their images/newsletters/  folder.
  6. Atanas Valchev
    Atanas Valchev avatar
    335 posts
    Registered:
    01 Aug 2012
    10 Dec 2012
    Link to this post
    Hi,

     I am afraid thata the only solution ios as described in this KB:Static Files are not served from Images or Videos folders. After you change the name of the images root and recompile all current images will be ok. However the links in the sent newsletters will still be pointing to the the old url, you can try configuring a URL rewrite to rewrite the images to the new path.

    Regards,
    Atanas Valchev
    the Telerik team
    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 Public Issue Tracking system and vote to affect the priority of the items
6 posts, 1 answered