The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> image not loading
tudsy
post Oct 16 2017, 09:28 AM
Post #1


Advanced Member
****

Group: Members
Posts: 121
Joined: 30-September 14
Member No.: 21,611



Hi

I am trying to retrieve the file path when a user clicks a link and opens a dialog box.

Can anybody help please?

Thanks.


Attached File(s)
Attached File  Cwp__1_.html ( 3.75k ) Number of downloads: 35
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 16 2017, 09:38 AM
Post #2


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,765
Joined: 9-August 06
Member No.: 6



I don't understand the question. And what image isn't loading?
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
tudsy
post Oct 16 2017, 09:46 AM
Post #3


Advanced Member
****

Group: Members
Posts: 121
Joined: 30-September 14
Member No.: 21,611



QUOTE(pandy @ Oct 17 2017, 12:08 AM) *

I don't understand the question. And what image isn't loading?



When the user clicks on the link 'Choose image file', it opens a dialog box and chooses an image file. Then i want to display that image.

Thanks.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Oct 17 2017, 06:05 AM
Post #4


Don't like donuts. Don't do MySpace.
********

Group: WDG Moderators
Posts: 17,765
Joined: 9-August 06
Member No.: 6



I'm sorry. I downloaded your HTML file but accidentally opened another file I had downloaded before. I can only blame that I'm confused by my new OS. blush.gif

Firstly, I think you need to use input type file. Secondly, it won't work anyway. Because of security reasons browsers will only return the file name without path. I think you need to go over the server somehow, actually upload the image. Maybe Ajax.

Christian can probably give you a better answer.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 18th November 2017 - 02:24 PM