Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Beginning HTML and CSS (published March 2013)
This is the forum to discuss the Wrox book Beginning HTML and CSS by Rob Larsen; ISBN: 978-1-1183-4018-9
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning HTML and CSS (published March 2013) section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old May 3rd, 2013, 10:00 AM
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default add image

hi guys i m try add a image into my html doc,i m typing correct code & src path ,which <img src="whatever"/> i could not add image ,thou image is in same folder as doc ,plz anybody can help me with this thx.
Reply With Quote
  #2 (permalink)  
Old May 3rd, 2013, 10:09 AM
Wrox Author
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 3 Times in 3 Posts
Default

While your example might just be an example... you do need the file extension. So if your file is a jpg, it would be <img src="whatever.jpg"/>
Reply With Quote
  #3 (permalink)  
Old May 3rd, 2013, 10:26 AM
Registered User
Points: 10, Level: 1
Points: 10, Level: 1 Points: 10, Level: 1 Points: 10, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: May 2013
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes , i did give extension name it was jpeg, still cannot add.
Reply With Quote
  #4 (permalink)  
Old May 3rd, 2013, 06:29 PM
Wrox Author
Points: 93, Level: 1
Points: 93, Level: 1 Points: 93, Level: 1 Points: 93, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Apr 2012
Posts: 19
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Just paste all of your HTML. I'm not going to be able to figure out what might be wrong with your folder structure, but I can certainly see if your HTML makes sense.
Reply With Quote
  #5 (permalink)  
Old January 31st, 2015, 01:30 AM
Registered User
Points: 12, Level: 1
Points: 12, Level: 1 Points: 12, Level: 1 Points: 12, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2015
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning HTML

you have three ways to insert your image file

<img src="foldername/imagename.jpg"/>

<img src="../foldername/imagename.jpg"/>

<img src="imagename.jpg"/>

you try this code
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add image in DataGridView? dinesh .NET Framework 2.0 0 February 28th, 2009 01:27 AM
How to Add and Read Image ?? nsr2007nsr VB.NET 2002/2003 Basics 1 February 20th, 2007 08:26 AM
How To Read And Add Image to Sql 2000 ??? nsr2007nsr Pro VB.NET 2002/2003 1 February 5th, 2007 08:34 AM
How to add image in database desai Pramod ASP.NET 1.0 and 1.1 Basics 4 December 26th, 2006 07:52 AM
add a image as your 'avatar' for bookmarks crmpicco HTML Code Clinic 4 September 30th, 2005 04:51 AM



All times are GMT -4. The time now is 08:02 AM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.