Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Web Programming > HTML > HTML Code Clinic
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic 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 Search this Thread Display Modes
  #1 (permalink)  
Old January 22nd, 2007, 08:56 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Inserting images

Hi, im a bit of a beginner with regards web design, but can someone please explain how to bring in an image to a webpage? I can get the code ok but all that appears is a white box with an 'x' in it. Its obviously to do with the sizing & naming of the pic, but i cant get it.. Ive even tried with small pictures and im saving as .gif but no joy.

Reply With Quote
  #2 (permalink)  
Old January 22nd, 2007, 09:09 AM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

The path to the image isn't right, the value of the src="" attribute.

Are you trying this on a server or locally? If on a server, are you sure you have uploaded the images? Do the paths in your code reflect where the images really are? Maybe you link to them on your hard drive or you have uploaded them to another directory than you meant to. Another possibility is CaSe. Most servers are Unix based and case sensitive. pic.jpg, PIC.JPG and pic.JPG are three different files on such a computer.

--
http://yupapa.com
Reply With Quote
  #3 (permalink)  
Old January 22nd, 2007, 10:45 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

thanks meow, will give that a try...

NB. did you see my reply in the table cells as links topic?? any idea?

Reply With Quote
  #4 (permalink)  
Old January 22nd, 2007, 11:52 AM
Friend of Wrox
Points: 1,315, Level: 14
Points: 1,315, Level: 14 Points: 1,315, Level: 14 Points: 1,315, Level: 14
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: , , .
Posts: 425
Thanks: 0
Thanked 3 Times in 3 Posts
Default

Nope, not until now. :)

--
http://yupapa.com
Reply With Quote
  #5 (permalink)  
Old January 23rd, 2007, 08:59 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, i have the location ok, the images are saved locally. But i think i have them opening via the wrong application. If I have the pics opening via a Windows picture and fax viewer, must i convert them to something else via properties and 'opens with'? Should 'opens with' be changed to eg. 'Internet Explorer'?

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
problem with inserting images in Access report pankaj_daga Access 1 February 1st, 2007 08:45 AM
Inserting Images Into Report From My database mms18 Crystal Reports 2 July 6th, 2006 02:25 AM
Inserting Images into Crystal Reports 8.5 Christina BOOK: Professional Crystal Reports for VS.NET 1 December 6th, 2005 06:15 AM
Inserting Images and retrieving from SQL SERVER adamusufi VB.NET 2002/2003 Basics 0 June 24th, 2005 04:13 AM
Dynamically inserting images in the report ashu_from_india Crystal Reports 0 February 22nd, 2005 12:46 PM



All times are GMT -4. The time now is 10:03 AM.


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