CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 how do I display images

Print topic Send  topic

Author Message
mike
Posted: 10/12/2005, 3:39 PM

I've trying to create a small app with photos
I've looked at the various example but just can't get
the images to display

I've created a Display only form - all the other TEXT items
show. When I created this form I chose the Image field as an image
not text ... but I don't see the image - just a place holder

I've looked at the Employee eample and can't see what I've missed!



peterr


Posts: 5971
Posted: 10/12/2005, 4:02 PM

Hi,

Right-click on that image placeholder and select "Properties" then verify the Address (URL). This will tell you right away where is the problem - the image doesn't exist at that location.

Also see this post for exact steps on uploading images and displaying them: http://forums.codecharge.com/posts.php?post_id=64734
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mike
Posted: 10/13/2005, 1:50 AM

I'm trying out the Fileupload component and followed the example from link
below
I get the following error.

Warning: Please sepcify file upload component for the project

going back to the original post ...Displaying Image as per orignal post...

I'm trying to do the same sort of thing as EmpsDetail but the image does not
show!
peterr


Posts: 5971
Posted: 10/13/2005, 2:00 AM

You will need to specify the file upload component for the project: click on the project name in the project explorer panel, then select the file upload component in the properties.

So what about the above instructions to right-click on the image? You should check if the image exists at the location where you're pointing to.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mike
Posted: 10/13/2005, 11:26 AM

> So what about the above instructions to right-click on the image? You
should
> check if the image exists at the location where you're pointing to.

Sorry, I talking about an image that comes from a database field like in the
employee example
I've looked at that and can't see what I've done wrong in my app.

I can add another image ie. image 2 on the Employee example and that works
is there some property I've missed??

"peterr" <peterr@forum.codecharge> wrote in message
news:6434e2244e75ad@news.codecharge.com...
> You will need to specify the file upload component for the project: click
on the
> project name in the project explorer panel, then select the file upload
> component in the properties.
>
> _________________
> Peter R.
> YesSoftware Forums Moderator
> For product support please visit http://support.yessoftware.com
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>

peterr


Posts: 5971
Posted: 10/13/2005, 12:28 PM

Looks like you might've missed this part from http://forums.codecharge.com/posts.php?post_id=64734 :
Quote :
Displaying the images on other pages is quite straightforward as well. Create a new grid or modify the "Default" page in the above example by adding a new column, then drop the "Image" component into it, then switch to the HTML mode and change {Image1} to pictures/{Image1}

This doesn't apply to the Employee example because that example doesn't use File Upload functionality, and the database contains manually entered image URLs with full image paths.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
mike
Posted: 10/13/2005, 12:47 PM

Using ASP/VBScript upload

Error Type:
Active Server Pages, ASP 0126 (0x80004005)
The include file 'Buffering.inc' was not found.
/EmplDir/Upload.asp, line 1

----
Using ASP/VBScript upload using ADOStream

An error occured when uploading file specified in Picture. Error
description: Microsoft VBScript runtime error, Permission denied
peterr


Posts: 5971
Posted: 10/13/2005, 5:21 PM

You may want to contact product support with any errors.
But also try changing the upload type to "ASP/VBScript Upload using ADODB.Stream".
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.

Web Database

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.