Posted 08 November 2010 - 06:23 AM
Posted 21 May 2011 - 06:43 AM
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.
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?
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.
Posted 21 May 2011 - 06:57 AM
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:
... 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.
<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.
For putting it in this post above (ignore quotes):
"[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, , but I've been coding since I crawled out from under my rock.
Edited by AstraNut, 21 May 2011 - 07:03 AM.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users