Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,576 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,883 people online right now. Registration is fast and FREE... Join Now!




HTML

 
Reply to this topicStart new topic

HTML, Images

suni110
26 Sep, 2008 - 06:30 AM
Post #1

New D.I.C Head
*

Joined: 6 Jun, 2008
Posts: 6

I am having to do a basic web page and I cannot get the image to come up. The image is up on my side, but when I send it to someone else there is no image. I have saved the image in my pictures. I do not know what I am doing wrong when it comes to the images source. I am putting in the right location of my source. Can someone please help me out. Thanks a bunch.

EDIT: That's annoying, only code goes between code tags.

This post has been edited by William_Wilson: 26 Sep, 2008 - 06:36 AM
User is offlineProfile CardPM
+Quote Post

Nykc
RE: HTML
26 Sep, 2008 - 06:33 AM
Post #2

sudo rm -R /
Group Icon

Joined: 14 Sep, 2007
Posts: 4,146



Thanked: 16 times
Dream Kudos: 275
My Contributions
How bout putting some code inside of the code tags instead of your post?
User is offlineProfile CardPM
+Quote Post

Reverand Dave
RE: HTML
26 Sep, 2008 - 06:34 AM
Post #3

D.I.C Regular
Group Icon

Joined: 27 Jul, 2008
Posts: 373



Thanked: 2 times
Dream Kudos: 50
My Contributions
Your image is not transferring because you are referencing it locally and when your friend tries to open your page "C:\local" from which your image is drawn from is likely not the same on the other PC from which you file is being opened.
User is offlineProfile CardPM
+Quote Post

William_Wilson
RE: HTML
26 Sep, 2008 - 06:37 AM
Post #4

lost in compilation
Group Icon

Joined: 23 Dec, 2005
Posts: 3,995



Thanked: 16 times
Dream Kudos: 3275
Expert In: Java, C, Javascript

My Contributions
Moved to HTML and CSS.
User is offlineProfile CardPM
+Quote Post

bojourn
RE: HTML
27 Sep, 2008 - 12:28 AM
Post #5

New D.I.C Head
*

Joined: 27 Sep, 2008
Posts: 5

Hi, really need some help on this image insertion on java script. I'm new to this GUI kind of thing and need litle advice on this. Thank you.

how to insert an image (.jpg/.gif/.bmp) within the second alert box, right before the word 'violation of this......"?

<script language="JavaScript">
<!-----hide from old browsers
alert('HIGHLY RESTRICTED AREA!');
//--------->
</SCRIPT>

<script LANGUAGE="JavaScript">
<!-- Begin
var agree = confirm("VIOLATION OF THIS SYSTEM WILL RESULT TO THE LAW OF XXXXXX. ANY UNAUTHORIZED ACCESS IS PROHIBITED");
if (agree)
document.write("");
else
history.go(-1);
// End -->
</SCRIPT>
User is offlineProfile CardPM
+Quote Post

chili5
RE: HTML
27 Sep, 2008 - 05:59 AM
Post #6

D.I.C Addict
****

Joined: 28 Dec, 2007
Posts: 700



Thanked: 4 times
My Contributions
@bojourn - make your own topic, and simply put you can't.

On topic: Your image isn't showing up simply because the person you sent the web page to, doesn't have the image on there computer. You would need to send them the picture also, and tell them exactly where on there computer to put the picture.
User is offlineProfile CardPM
+Quote Post

devonator
RE: HTML
4 Oct, 2008 - 09:11 AM
Post #7

New D.I.C Head
*

Joined: 6 Sep, 2008
Posts: 43


My Contributions
CODE

<img scr="http://www.blah.com/image.jpg">
replace the web address with the file path of your image.
if you saved the image locally than put the local address in.

if u send ur friend the html file and saved the image locally but didnt send him the image, than it wont show up. cuz he doesnt have the image. or if u send to him with the image than the file path might be changed causing the image unable to show up. so ask him to check and fix it.

hope this helps

This post has been edited by devonator: 4 Oct, 2008 - 09:13 AM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 12:10AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month