CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 dynamic created images with php in godecharge

Print topic Send  topic

Author Message
folkerts
Posted: 02/13/2002, 3:31 PM

hi im wanna use dynamic created images in codecharge but i dont see what im doing wrong.
i ve got a php file witch get's my image from database and puts a png header above. when i call this php script it gives me the picture i requested.
when i make a html file with in body
<img src=makeimage.php?id=1 border=0> it returns my picture very nice.
but when i but this kind of code in the before show event of a codecharge form on a variable it just returns the the ascii code.
what am i doing wrong??

folkerts
Andrew B
Posted: 02/13/2002, 7:50 PM

By ascii code do you mean the body of the image is returned in ASCII format (like uuencoded)?

Make sure that the field you are using this in (if you type it into the caption box) is set to 'label' and has 'html' checked.

Try taking a look at the output html that your browser gets. Save a copy of that output to an html file and see if it works as expected. That might help in the debugging.

Also, try using quotes around everything.
in asp
"<img src=""makeimage.php?id=101"" border=""0"">"
or in html just
<img src="image" border="0">
folkerts
Posted: 02/14/2002, 12:03 PM

when i do the same thing with a record form type i do see the picture?????????/
what is wrong here???
are there headers in the grid form witch have to be disabled??
ixie
Posted: 12/18/2002, 4:58 AM

I have the same problem and am baffled.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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