More in this section
Forums / Developing with Sitefinity / Accessing Images Stored in CMS

Accessing Images Stored in CMS

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Armysniper
    Armysniper avatar
    126 posts
    03 Mar 2005
    07 Sep 2009
    Link to this post
    I am trying to send emails from my site for different actions. The emails are in HTML so I would love be able to access images stored in the CMS in these emails. How can I find out the image URL?
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 Sep 2009
    Link to this post
    Hello Armysniper,

    You can use StreamReader class to read the html, but you need to have some logic or certain place where you store your images so that you can narrow from where some url and image comes from. The StreamReader does not know whether an image is stored in your cms or whether it comes from somwhere else since it will be represented as url.

    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
2 posts, 0 answered