Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

HTML codes


  • Please log in to reply

#16
Asherr

Asherr

    Member

  • Member
  • PipPip
  • 11 posts
HTML tags are simple but you need to research over the required tags to makes things clear about posting images and many more. HTML are always useful scripts because it is simple to use and understand.
  • 0

Advertisements


#17
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 465 posts

What about a photo from my Pictures folder? How do I find the URL code for it and then write the code on the web page?

Any images you want to use on a web site can not use a path referring to your hard drive. All images must be hosted on your own hosting site or uploaded to an image hosting site where you would use the DIRECT URL to the image only. Not to the page the image is on with other content.

I would stick with this image tag coding unril you get use to using a CSS file with your web pages:

<img style="width: XXpx; height: YYpx; border: 0;" src="Path to image" alt="Text Description">

The path used for images on your own web site will use relative paths. The relationship between where the image and the file(s) using it must be maintained. For example, image and file in same folder:


<img style="width: XXpx; height: YYpx; border: 0;" src="image.jpg" alt="Text Description">

Image in its own "images" directory:

<img style="width: XXpx; height: YYpx; border: 0;" src="images/image.jpg" alt="Text Description">

File outside root directory:

<img style="width: XXpx; height: YYpx; border: 0;" src="../images/image.jpg" alt="Text Description">

The "../" tells browsers how far up/back the browser must go in the directory structure to find the image. Use it as many times as needed depending on the relationship of the file with the image it needs:

<img style="width: XXpx; height: YYpx; border: 0;" src="../../images/image.jpg" alt="Text Description">

There are otherpath variations. See Absolute and Relative Paths.
  • 0

#18
AstraNut

AstraNut

    Member

  • Member
  • PipPipPip
  • 465 posts

... I want to put a photo onto my MySpace.com page but don't know how to do it. I also want to use smilies and symbols in my emails and message board posts but don't know how.

MySpace requires you to have your images hosted. The direct URL must be used for the image in order to show it. Same image tag is used. Example to one of GTG's Smilies:

<img style="width: 27px; height: 20px; border: 0;" src="http://www.geekstogo.com/forum/public/style_emoticons/default/whistling.gif" alt="Smiley: Whistling">


Note the full DIRECT URL to image.

Posted Image

For putting it in this post above (ignore quotes):

Code used:

"[img]http://www.geekstogo.com/forum/public/style_emoticons/default/whistling.gif[/img]"
Those are bbCode tags used for forums and blogs where HTML code is inhibited. These are the tags you would use for MessageBoard Posts, too. bbCode

For your eMails. It depends on the eMail program being used. Better to use a POP 3 service and use a local eMail program like Windows Live Mail, IncrediMail, etc.. IncrediMail makes it so easy to insert Smilies. I think you would love the free program, but you must use it with a POP 3 service like GMail.

Putting Smiles/Images in Web Mail like Yahoo.com's Mail involves lot of unnecessary steps which is why I don't use it. Hope this got all your questions answered. I'm not wrong often, maybe 3-times a year, :) :yes: :unsure:, but I've been coding since I crawled out from under my rock.

Edited by AstraNut, 21 May 2011 - 07:03 AM.

  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP