mrgtron
|
| Posted: 01/28/2003, 8:12 AM |
|
I have image names in the database(jack.jpg) and I want to display them on a page using URL http://www.domain.com/folder/jack.jpg. (Jack.jpg is from the database) I am displaying it in a grid. How do I do that in CC.
I have been real frustrated with that.
Thank you.
|
|
|
 |
RonB
|
| Posted: 01/28/2003, 9:32 AM |
|
it's been a while since I used CC (use ccs now) but here's a try:
in the before show event
$fldImage="<img src='http://www.domain.com/folder/" .$fldImage ."'>";
RonB
|
|
|
 |
mrgtron
|
| Posted: 01/28/2003, 12:57 PM |
|
I have image names in the database(jack.jpg) and I want to display them on a page using URL http://www.domain.com/folder/jack.jpg. (Jack.jpg is from the database) I am displaying it in a grid. How do I do that in CCS.
I have been real frustrated with that.
Thank you Ron, I applozie I am using CCS. I didn't know there are different versions.
|
|
|
 |
RonB
|
| Posted: 01/28/2003, 3:28 PM |
|
oke,
in the beforeshow event:
global $yourgrid;
$yourgid->imagefield->setvalue("<img src='http://www.domain.com/folder/" .$yourgid->imagefield->Value ."'>");
Ron
|
|
|
 |
mrgtron
|
| Posted: 01/31/2003, 12:12 PM |
|
You lost me again, in Code Charger Studio. under Asp.NEt. Where do you input the code you just specified.
my picture in Database is store as just picture name (jack.jpg)
in the Grid i would like it appreal as an image with http://www.google.com/jack.jpg for example.. where do I go around doing that. in ASP.net we use formate (image, "http://www.google.com/{0}) do I need to do the same?
Thank you so much for your help Rob, it just very frustrating.
|
|
|
 |