Don Johnson
|
Posted: 12/26/2003, 11:51 AM |
|
Hi all!
One question regarding image upload in CCS 2. Image upload works very well OK
i have set i.e. d:\www\software\images as folder for uploading pictures
When i make page in CCS in software folder i.e. pictures.asp it doesnt show IMG SRc tag
It should be in my example images/{Picture} in the format proprety for picture filed but anyway in the compiled page in browser source displays <img src={Picture} only
It seems that CCS omit subfolder in the img src tag. It just displays only pictures located in the same folder as that page
Anybod know is it bug or I have to make something diff. like ???
Thanks in advance!
|
|
|
TAiNT
Posts:
|
Posted: 12/27/2003, 1:52 AM |
|
Quote Don Johnson:
It should be in my example images/{Picture} in the format proprety for picture filed but anyway in the compiled page in browser source displays <img src={Picture} only
How CCS can know that you will use pictures uploaded in images subfolder? Solution is quite simple. Switch to HTML mode and edit src tag to look like<img src="images/{Picture}">
...
CCS stores only file name in the database.
|
|
|
Don Johnson
|
Posted: 12/29/2003, 1:24 PM |
|
Thanks, but I tried. I forgot to say my conf. IIS, win2000, asp.net
It seems it is bug in VB.net language
Anything you can put in IMG SRC but compiled page shows only root folder but not any subfolder...
it is important to set write permissions only in one subfolder without code..
any more info?
|
|
|
Nicole
Posts: 586
|
Posted: 01/06/2004, 5:07 AM |
|
Don,
Have you tried to check the “view source” of the live page? What is in the “src”, do you see the relative path added to the initial src={Picture}?
_________________
Regards,
Nicole |
|
|
|