Displaying a remote image from url stored in my db

Discussion in 'Programming' started by kory27, Feb 28, 2008.

  1. #1
    Hi. I am running cf7 and have a problem. in my application.cfm i have this;

    <cfparam name="application.ImgPath" default="http://www.urbanposters.com/images/">
    <cfparam name="application.TImgPath" default="http://www.urbanposters.com/images/thumbnails/">
    <cfparam name="application.TImgPath2" default="http://www.urbanposters.com/images/thumbnails/">
    <cfparam name="application.DImgPath" default="http://www.urbanposters.com/images/detail_images/">

    Basically, they are the paths of my full size and thumbnail images. I am changing the way we are doing things, and the product feed provided that i am integrating has an image path, http://..., that i have stored in my sql database Allposters3 in the field productImg2URL. how can i call that to replace the above application setting.

    Thanks so much for your help.
     
    kory27, Feb 28, 2008 IP
  2. websiteideas

    websiteideas Well-Known Member

    Messages:
    1,406
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    130
    #2
    not sure exactly what you're asking, but have you tried cfquery to get the path stored in the database?
     
    websiteideas, Mar 8, 2008 IP