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 -> General/Other

 IMG SRC tag in picture uploading wrong for subfolder?

Print topic Send  topic

Author Message
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.
View profile  Send private message
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
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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