0
嘿,我想找出最好的方式來讓我的網址顯示圖像。ASP.net圖像服務器地圖和本地
下面是我的代碼URL背後:
imgURL = Request.ApplicationPath & "public/themes/_images/" & theCatagory & "_" & productName & ".jpg"
但是,它只產生/public/themes/_images/hoods_Fire-Star.jpg當我希望得到HTTP:// WWW .blahblah.com /公/主題/ _images/hoods_Fire-Star.jpg
我保存圖像,像這樣的數據庫:
Request.ServerVariables("APPL_PHYSICAL_PATH").ToString.Replace("\admin", "") & "public\themes\_images\" & theCatagory & "_"
,這裏安置它:C:\ CLIENTS \ theclient \ blahblahblah.com \ PUBLIC \ themes_images \ hoods_Fire-Star.jpg
那麼,我需要把後面的代碼,以獲得該URL路徑是什麼用http?