School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,168 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,571 people online right now. Registration is fast and FREE... Join Now!




how do I put pics on my website

 

how do I put pics on my website, need help

chasingtrinity

4 May, 2005 - 11:50 PM
Post #1

New D.I.C Head
*

Joined: 4 May, 2005
Posts: 5

I know very littel about anything, but a friend taught me a few things. I want to put some pics on my website, but I dont know where to start. Please help if you can. crazy.gif

User is offlineProfile CardPM
+Quote Post

 
Reply to this topicStart new topic
Replies(1 - 9)

bug

RE: How Do I Put Pics On My Website

5 May, 2005 - 12:44 AM
Post #2

Got Bug?
Group Icon

Joined: 24 Apr, 2005
Posts: 1,009


Dream Kudos: 170
My Contributions
Depending on what you are using to create your webpage (since you didn't give much info on that) it will vary on how you put the images on your site. If you are writing your own code then you'd upload the image to the server your site is hosted on then insert the following code into the page you are working on.

Basic image code:
CODE
<img src="imagenamehere.gif">

Of course you'll want to change the file name inside the "" to whatever the file name of the image is.

Hope that makes sense, good luck with your site smile.gif
User is offlineProfile CardPM
+Quote Post

chasingtrinity

RE: How Do I Put Pics On My Website

5 May, 2005 - 05:47 PM
Post #3

New D.I.C Head
*

Joined: 4 May, 2005
Posts: 5

The pics that I am trying to put on the site end with jpg How do I turn them into thumbnails that open up when you click on them? Please help me!!! I am lost!!!
User is offlineProfile CardPM
+Quote Post

bug

RE: How Do I Put Pics On My Website

5 May, 2005 - 06:00 PM
Post #4

Got Bug?
Group Icon

Joined: 24 Apr, 2005
Posts: 1,009


Dream Kudos: 170
My Contributions
Allrighty, try inserting this this for each image, make sure to edit the typeyourimagenamehere to whatever your file name is smile.gif

CODE
<a href="typeyourimagenamehere.jpg">
<img src="typeyourimagenamehere.jpg" height="50" width="65" border="0"></a>

User is offlineProfile CardPM
+Quote Post

chasingtrinity

RE: How Do I Put Pics On My Website

5 May, 2005 - 10:49 PM
Post #5

New D.I.C Head
*

Joined: 4 May, 2005
Posts: 5

Its me again. What does </a> mean?
</tr>?
</td>?
<tr>?
<td>?
&nbsp; ?
User is offlineProfile CardPM
+Quote Post

bug

RE: How Do I Put Pics On My Website

5 May, 2005 - 11:08 PM
Post #6

Got Bug?
Group Icon

Joined: 24 Apr, 2005
Posts: 1,009


Dream Kudos: 170
My Contributions
</a>- this is the piece of code that closes a link
Example:
CODE
<a href="http://www.linkurlhere.com">Link Name</a>


&nbsp;- this is what you use to insert a space (like if you need to insert more than one space in something...or if you have a table cell and need it to have something in it so it can be read properly by the browser but you don't want anything to actually appear in it...lots of other uses of course but that's one of 'em.)

<tr>,</tr>,<td>,</td>-these are all parts of a table
Here's an example of a very basic table.
CODE
<table border="1" cellspacing="2" cellpadding="5">

<tr>
<td>1</td>
<td>2</td>
</tr>

<tr>
<td>3</td>
<td>4</td>
</tr>

</table>


Individual code uses of each part is as follows:
<table> begins and ends the table, as you can see.
<tr> begins and ends every new Table Row (which is incidently what tr stands for...lol.
Look again at the table above; there are two rows in the table, thus there are two sets of <tr> tags.
<td> begins every cell, and stands for Table Data.
In this particular example there are four cells, and four sets of <td> tags.

That's the best way I can really explain it...hope it helps and I'm glad the thumbnail code worked out for ya...you should link me to your page so I can check out what you're workin so hard on wink2.gif
User is offlineProfile CardPM
+Quote Post

Amadeus

RE: How Do I Put Pics On My Website

6 May, 2005 - 05:20 AM
Post #7

g+ + -o drink whiskey.cpp
Group Icon

Joined: 12 Jul, 2002
Posts: 13,284



Thanked: 149 times
Dream Kudos: 25
My Contributions
bug's explanation is great...as a further knowledge transfer, here is a link to a good set of html tutorials, designed to familiarize you with the general construction of a web page.
User is offlineProfile CardPM
+Quote Post

chasingtrinity

RE: How Do I Put Pics On My Website

7 May, 2005 - 12:20 PM
Post #8

New D.I.C Head
*

Joined: 4 May, 2005
Posts: 5

Thank you for your help! I needed that!
User is offlineProfile CardPM
+Quote Post

skyhawk133

RE: How Do I Put Pics On My Website

7 May, 2005 - 12:21 PM
Post #9

Head DIC Head
Group Icon

Joined: 17 Mar, 2001
Posts: 16,883



Thanked: 156 times
Dream Kudos: 1650
Expert In: Web Development

My Contributions
On behalf of Amadeus and Bug, you are very welcome! Hope that info gets you on the right track.

Welcome to dream.in.code!!!
User is offlineProfile CardPM
+Quote Post

bug

RE: How Do I Put Pics On My Website

7 May, 2005 - 01:54 PM
Post #10

Got Bug?
Group Icon

Joined: 24 Apr, 2005
Posts: 1,009


Dream Kudos: 170
My Contributions
You're welcome sugar, and I checked out your site...great job it's coming along very nicely!! smile.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 06:36PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month