www.webdeveloper.com
Results 1 to 5 of 5

Thread: how to show image using JavaScript

Hybrid View

  1. #1
    Join Date
    Oct 2012
    Posts
    15

    how to show image using JavaScript

    Hi, i have image folder and inside the image folder , i have several images(image01.jpg, image02.jpg and so on ) now i would like to show those image using JavaScript may be also including PHP (if its necessary, as i don't have any idea )

    could anybody tell me please , how to do that ?

  2. #2
    Join Date
    Oct 2012
    Posts
    15
    Sorry, i have forgot to mention that, i would like to display image from a URL for example (www.hgjrh/jpg), could anybody tell me please ,how to display an image from a URL using PHP or JavaScript

  3. #3
    Join Date
    Oct 2012
    Posts
    13
    Even i need to know that..

  4. #4
    Join Date
    Sep 2006
    Location
    new york
    Posts
    254
    If I understand your query, you seem to be talking about HTML image tag <img src="pathToFile.jpg">, which would be included on a Web page.

    See for instance http://www.w3schools.com/html/html_images.asp, http://www.mediacollege.com/internet...image-tag.html, http://www.htmlgoodies.com/primers/h...TML-Images.htm, http://www.htmldog.com/reference/htmltags/img/

    JavaScript and/or PHP could create slideshows or roll-over effects.
    Last edited by auntnini; 10-27-2012 at 04:56 PM. Reason: typo

  5. #5
    Join Date
    Sep 2006
    Location
    new york
    Posts
    254

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles