Freelancer.com

Go Back   Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Website Design
Register Blogs Social Groups Advertise with usHelp Desk

Closed Thread
LinkBack Thread Tools
Unread 18th May 2009, 03:53 AM   #1
Quick Tips for Businesses
 
Join Date: 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  
Unread 18th May 2009, 04:03 AM   #2
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: 2008
Location: Australia
Posts: 1,357
Blog Entries: 5
Thanks: 584
Thanked 833 Times in 375 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  
Unread 18th May 2009, 05:01 AM   #3
Quick Tips for Businesses
 
Join Date: 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  
Unread 18th May 2009, 05:28 AM   #4
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: 2008
Location: Australia
Posts: 1,357
Blog Entries: 5
Thanks: 584
Thanked 833 Times in 375 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  
Unread 18th May 2009, 05:58 AM   #5
Quick Tips for Businesses
 
Join Date: 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  
Unread 18th May 2009, 11:47 AM   #6
Ross Vaughn
 
Spinethetic's Avatar
 
Join Date: 2009
Location: Manhatten
Posts: 179
Blog Entries: 2
Thanks: 20
Thanked 16 Times in 15 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

Actually, you can convert an image to HTML :p

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  
Unread 18th May 2009, 12:03 PM   #7
HyperActive Warrior
War Room Member
 
Join Date: 2009
Posts: 137
Thanks: 33
Thanked 48 Times in 20 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 :p
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  
Unread 18th May 2009, 04:59 PM   #8
Kezz Bracey
War Room Member
 
Kezz's Avatar
 
Join Date: 2008
Location: Australia
Posts: 1,357
Blog Entries: 5
Thanks: 584
Thanked 833 Times in 375 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  
Unread 16th Jul 2011, 06:55 PM   #9
Warrior Member
War Room Member
 
Join Date: 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
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  
Unread 3rd Mar 2014, 05:21 AM   #10
HyperActive Warrior
 
Join Date: 2011
Posts: 310
Thanks: 8
Thanked 41 Times in 40 Posts
Default Re: How do I Convert JPG file to HTML Code so Picture Displays on Website

[moderated: copilule, next time look at the date! - the poster revived a thread from 2009!]


Last edited on 3rd Mar 2014 at 05:22 AM. Reason: add info
copilu0 is offline  
Closed Thread

  Warrior Forum - The #1 Internet Marketing Forum & Marketplace > Warrior Support Forums > Website Design

Bookmarks

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 02:14 PM.