Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 05-18-2009, 04:53 AM   #1
Quick Tips for Businesses
 
Join Date: Apr 2009
Location: Australia
Posts: 68
Blog Entries: 10
Thanks: 4
Thanked 9 Times in 6 Posts
Default How do I Convert JPG file to HTML Code so Picture Displays on Website

Can someone please help me and advise me how to convert a jpg picture file to HTML code so I can display the picture (a small size picture) on my website?

thanks

daryamconsult_aust is offline   Reply With Quote
Old 05-18-2009, 05:03 AM   #2
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: Dec 2008
Location: Australia
Posts: 1,291
Blog Entries: 5
Thanks: 323
Thanked 599 Times in 291 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

You can't actually convert a jpg into html code I'm afraid. Where you perhaps needing to know the html code to make the image display at the size you want?
Kezz is offline   Reply With Quote
Old 05-18-2009, 06:01 AM   #3
Quick Tips for Businesses
 
Join Date: Apr 2009
Location: Australia
Posts: 68
Blog Entries: 10
Thanks: 4
Thanked 9 Times in 6 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Quote:
Originally Posted by Kezz View Post
You can't actually convert a jpg into html code I'm afraid. Where you perhaps needing to know the html code to make the image display at the size you want?
Yes, I probably didn't word it right. How do I get a jpg (or bmp) picture or file on a website?

thanks

daryamconsult_aust is offline   Reply With Quote
Old 05-18-2009, 06:28 AM   #4
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: Dec 2008
Location: Australia
Posts: 1,291
Blog Entries: 5
Thanks: 323
Thanked 599 Times in 291 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Here's the code you need:

HTML Code:
<img src="http://www.yoursite.com/yourimage.jpg" height="100" width="100" />
You just need to fill in the src= part with your own image file name, and set the height and width to whatever size you want.

Hope that helps!
Kezz is offline   Reply With Quote
Old 05-18-2009, 06:58 AM   #5
Quick Tips for Businesses
 
Join Date: Apr 2009
Location: Australia
Posts: 68
Blog Entries: 10
Thanks: 4
Thanked 9 Times in 6 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

thanks Kezz

daryamconsult_aust is offline   Reply With Quote
Old 05-18-2009, 12:47 PM   #6
Ross Vaughn
 
Spinethetic's Avatar
 
Join Date: Apr 2009
Location: Manhatten
Posts: 177
Blog Entries: 2
Thanks: 20
Thanked 15 Times in 14 Posts
Social Networking View Member's Myspace Profile  View Member's FaceBook Profile  View Member's Twitter Profile 
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Actually, you can convert an image to HTML

Though I dont recommend it since it will skyrocket the file size of your page:
Neil Fraser: Software: Image to HTML Converter
Example of Warrior Forum logo:
img2html: http://warriorforum.com/images/site_01.gif

What it does is it maps out the color of every pixel of the image and then creats rows of 1x1px <TABLE> cells with the background color of the pixel corresponding with that location of the image.

Spinethetic is offline   Reply With Quote
Old 05-18-2009, 01:03 PM   #7
HyperActive Warrior
War Room Member
 
Join Date: Jan 2009
Posts: 134
Thanks: 10
Thanked 30 Times in 8 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Quote:
Originally Posted by Spinethetic View Post
Actually, you can convert an image to HTML
Hahaha, I totally forgot about this, I coded the exact same thing on a really boring winter afternoon a couple of years ago ... it's great to know I am not the only one with crazy ideas.

Aaron Sustar is offline   Reply With Quote
Old 05-18-2009, 05:59 PM   #8
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: Dec 2008
Location: Australia
Posts: 1,291
Blog Entries: 5
Thanks: 323
Thanked 599 Times in 291 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Ha, funny! Someone out there has an surplus of brains and free time

Kezz is offline   Reply With Quote
Old 07-16-2011, 07:55 PM   #9
Warrior Member
War Room Member
 
Join Date: Sep 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Social Networking View Member's Twitter Profile 
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Neil Fraser: Software: Image to HTML Converter Try this
kaynolliee is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Website Design

Tags
code, convert, displays, file, html, jpg, picture, website

Thread Tools

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 06:16 PM.