I have pictures in my Pictures folder in Windows. Some titled something like C6.JPG
I want to reproduce a picture in the HTML section of Ebay.
I know the code is <img src="picture.jpg.">
What I can't figure out is what goes in the plce of picture? I've tried C6.jpg but that does not work.
Any suggestions received gratefully.
Page 1 of 1
Picture Files
#2
Posted 14 August 2011 - 11:18 AM
You first need to upload your picture to an online image host. I don't sell on eBay, so I don't know if they have an image upload function. If not, you can try a free image host like Imageshack, Photobucket, or TinyPic. When you upload a picture, you need to locate the direct URL for the picture. An example would be this:
A URL like this is incorrect because it's not the direct URL of the image:
After you've got the direct URL, you can add it to the source attribute of the image tag like so:
When coding HTML and connecting to a source like an image, web page, or JavaScript file, the file name and file type are both case sensitive. For example, if you take a screen shot in Windows XP and save it as a PNG in Microsoft Paint, the file extension will be capital PNG, so your code would need to reflect the capitalization.
http://www.mysite.com/image1.png
A URL like this is incorrect because it's not the direct URL of the image:
http://www.mysite.com/image1/
After you've got the direct URL, you can add it to the source attribute of the image tag like so:
<img src="http://www.mysite.com/image1.png" />
When coding HTML and connecting to a source like an image, web page, or JavaScript file, the file name and file type are both case sensitive. For example, if you take a screen shot in Windows XP and save it as a PNG in Microsoft Paint, the file extension will be capital PNG, so your code would need to reflect the capitalization.
Would you be interested in contributing to the PCWorld Wiki?
Learn how to edit pages and even create new ones.
Learn how to edit pages and even create new ones.
Share this topic:
Page 1 of 1
Help










