CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 display jpegs in CC

Print topic Send  topic

Author Message
bfieldmom
Posted: 05/22/2002, 10:09 AM

in access, i created a field named jpeg that points to a jpeg pic in the /www/new/images directory for each record in my dB. in CC, i want to view these jpegs and have the following set up in the form detail before show event:

fldjpeg="<img border=0 height=1 width=1 src=""www/new/images/" & fldjpeg & """>"

when i generate the page and try to view the live data, i see the following in the jpeg field:

<img border=0 height=1 width=1 src="www/new/images/?


is there anything else i need? what am i missing?

than Q! in advance for your help!
Ken Hardwick
Posted: 05/22/2002, 10:32 AM

Be sure to mark "html" in your field properties for that field.
bfieldmom
Posted: 05/22/2002, 10:35 AM

yes, i do have HTML selected for the jpeg field properties.
www.adenin.nl
Posted: 05/22/2002, 2:25 PM

Hi,

Please check you code:

In asp in the before show event you should type:

fldJPEG="<img border=0 height=1 width=1 src='images/" & fldJPEG & ">"

instead of:
fldjpeg="<img border=0 height=1 width=1 src=""www/new/images/" & fldjpeg & """>"

Regards,
Marco
www.adenin.nl


bfieldmom
Posted: 05/31/2002, 7:45 AM

>> Please check you code:
>>In asp in the before show event you should type:
>>fldJPEG="<img border=0 height=1 width=1 src='images/" & fldJPEG & ">"
>>instead of: fldjpeg="<img border=0 height=1 width=1 src=""www/new/images/" & >>fldjpeg & """>"
>>Regards,
>>Marco

www/new/images/ IS my current images directory as i have previously stated. so i still need some info. my pics are currently displaying, but they are all different sizes and need to be uniform (1" x 1"). whenever i specify the size, my pics do not display. and it dosen't matter if i use IMAGE border or IMG border in before show - neither work.

any help would be GREATLY appreciated!!




ek
Posted: 05/31/2002, 8:10 AM

In asp in the "before show" event try the format below ....

fldJPEG="<img width=100 height=100 border=0 src=""images/" & fldJPEG & """>"


   


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.