CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Display database image from a url source

Print topic Send  topic

Author Message
matwils

Posts: 7
Posted: 07/19/2007, 5:46 AM

I have a database with an image field which contains a text string of the url to an image on another website, e.g. "http://www.codecharge.com/image1.jpg".

I would like to display these images using an imagelink control, however CCS assumes that the image is stored locally on the server and ends up amending the image source to become "c:\server1\images\htttp://www.codecharge.com/image1.jpg", which of course does not display the image.

How can I change the image control so that image source is taken as field value without adding the local server directory path to the front?
View profile  Send private message
matwils

Posts: 7
Posted: 07/19/2007, 12:12 PM

Sorry, I meant that CCS changes the image source value to prepend my website address so I get an image source value something like "http://www.mywebsite.com/http://www.imagesourcewebsite.com/image1.jpg".

How can I tell CCS that the database value is the absolute image address?
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.