S
sjsean
I trying to display an image on my page and the photo information is
gathered from a database table. This was working correctly when the
image was stored at the root level, but I have changed where they
upload into a subfolder named photos and now the page won't display
them. I've tried using the DataImageUrlFormatString but that didn't
seem to change my results. Maybe I'm not correctly populating the
information
from what I've read on the net it seems that it would be:
<asp:ImageField DataImageUrlField="photoname"
DataImageUrlFormatString="~/photos/{0}">
the extention is in the field photoname so I wouldn't think that is
required.
Thanks for the help.
Sean
gathered from a database table. This was working correctly when the
image was stored at the root level, but I have changed where they
upload into a subfolder named photos and now the page won't display
them. I've tried using the DataImageUrlFormatString but that didn't
seem to change my results. Maybe I'm not correctly populating the
information
from what I've read on the net it seems that it would be:
<asp:ImageField DataImageUrlField="photoname"
DataImageUrlFormatString="~/photos/{0}">
the extention is in the field photoname so I wouldn't think that is
required.
Thanks for the help.
Sean