How to update or add image

Posted on 2003-11-04
Last Modified: 2010-04-09

  I have this html called example.html which needs to add image or update data
at a html page.How do i change this so that maybe when i press something at the image, a window could pop up that shows the folders from where i could select the image...
..How do i change this so that this info maybe displayed on the exact postion of the front page

<head><title> Adding update</title></head>

Image  :
<img src="cal.gif" width="16" height="16" border="0"></a></div>
Update :
<textarea type="text" name="desc" rows="5" cols="15" wrap>

<input type=button value="Add" > </p>


Question by:Jasbir21
  • 3
  • 2

Accepted Solution

dushpat earned 160 total points
Comment Utility
How about this ... Replace URL for your image url <html> <head> <title>Image button</title> <style type="text/css"> <!-- .inputimage { background-image: url((URL))} --> </style> </head> <body bgcolor="#FFFFFF" text="#000000"> <form name="form1" method="post" action="" enctype="multipart/form-data"> <input type="file" name="file" class="inputimage"> </form> </body> </html>

Author Comment

Comment Utility

--->How do i change this so that maybe when i press something at the image, a window could pop up that shows the folders from where i could select the image...

But how do i this ??
..How do i change this so that this info maybe displayed on the exact postion of the front page..I mean, what do i do so that the images and data can be inserted on the exact postion??I mean image1 with or without update data to this coordinate, the next image with data to next coordinate??

Expert Comment

Comment Utility
I can't understand the question maybe because of my poor english but I will try to help.
I can't go deeply in the things because I'm not anymore a javascript-er but will try to explain it :

  Try to make a script (ASP , PHP have to be the best for these job in my opinion)  then this script have to core another script on JS or VB which is more CSS not a script and then the main script configures that every image using CSS is then + some digits over the past one and so something like that...

Sorry I am not in practice 3 years and more in JS , so a very poor example   :-(
I only geting you the idea ! I am not coding in this example !

F[j,k] := F[j,k] + w 10 and h10           w and h = j and k   (the j and k must be others for your page because you have to go bottom not to go straigt all the time)
then this in CSS should look in this way

PiC 1           PIC2            PIC3 .... PIC
info                  ....               .......       .......

PIC             PIC                PIC


Bla bla bla ....

Get an idea ???

I hope so          :-)

Sorry that I haven't go deeply and didn't give you JS/CSS asociated example but I can't code and describe you have to do the coding yourself

Regards !!!
What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.


Author Comment

Comment Utility
.... I really didn't get that idea, i am trying to program in jsp and html...


Expert Comment

Comment Utility
Yo !
I am a java dev .

So the question you ask is more than ... I don't know ?!?!

If you can work / program in Java well so your question doesn't make sense...
Or I haven't understand it .. Sorry !

Author Comment

Comment Utility
Sorry, I guess i am not explaning it well ..
...Pls ask if you don't understand or i am confusing things...I am not a java dev, but i did learn java a bit and i have just started to do jsp, i am new..

   I  have a jsp form that needs me to explicitly put it ,
but the problem is


Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now