C
Coby Herd
I have a content mgmt page that allows a user to update products in his
store - (actually a used car lot). All of the fields work perfectly - when
he puts content in.changes prices, etc it writes to the database and when
the page is refreshed the changes appear.
The problem is the image fields. They work OK if you put the correct HTML
tags in
i.e.-<img src="images/imagename.jpg"> I need a simpler way of doing this so
I tried to change the for the form fields from
<input size=28 name="image" value="<%= Server.HTMLEncode(image & "") %>"
maxlength=100
to
<input type="file" size=28 name="image" value="<%= Server.HTMLEncode(image &
"") %>" maxlength=100>
it sorta works and sorta doesn't - The whole location of the file I am
trying to insert i.e.-
C:\Documents and Settings\Administrator\My Documents\My Pictures\coby1c.jpg
gets put into the field
I need to find out how to have the script just put the image tag he wants
into the field
Any suggestions?
and thanx for any help
CobyfromBrooklyn
store - (actually a used car lot). All of the fields work perfectly - when
he puts content in.changes prices, etc it writes to the database and when
the page is refreshed the changes appear.
The problem is the image fields. They work OK if you put the correct HTML
tags in
i.e.-<img src="images/imagename.jpg"> I need a simpler way of doing this so
I tried to change the for the form fields from
<input size=28 name="image" value="<%= Server.HTMLEncode(image & "") %>"
maxlength=100
to
<input type="file" size=28 name="image" value="<%= Server.HTMLEncode(image &
"") %>" maxlength=100>
it sorta works and sorta doesn't - The whole location of the file I am
trying to insert i.e.-
C:\Documents and Settings\Administrator\My Documents\My Pictures\coby1c.jpg
gets put into the field
I need to find out how to have the script just put the image tag he wants
into the field
Any suggestions?
and thanx for any help
CobyfromBrooklyn