Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Html Tags > Re: inserting j...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 7 Topic 369 of 439
Post > Topic >>

Re: inserting jpgs and gifs

by "Jim Michaels" <jmichae3@[EMAIL PROTECTED] > Feb 3, 2006 at 05:15 PM

"MikesBrain" <Mike@[EMAIL PROTECTED]
> wrote in message 
news:3taok11dqj8o9d21bef8848n6mhtmpiaam@[EMAIL PROTECTED]
> On Tue, 11 Oct 2005 16:16:41 -0400, "ergo_sum"
<collegiate@[EMAIL PROTECTED]
>
> wrote:
>
>   >OK.  Let's see if I can make my question clearer, and sorry 'bout the
>   >mumbles, dude!
>   >
>   >Where do I place the pics before writing the tags?  For e.g., the 
> gifs/jpgs
>   >are now pasted onto a Word doc, which is no good for anything other 
> than ms.
>   >I don't want to corner myself into anything proprietary.  So, where
do 
> I put
>   >them?
>   >
>   >
>   >"Gazza" <news@[EMAIL PROTECTED]
> wrote in message
>   >news:4IQ2f.67326$OC3.60452@[EMAIL PROTECTED]
>   >>
>   >>
>   >> ergo_sum mumbled the following on 11/10/2005 15:02:
>   >>
>   >>> Where do I put the pics before filling in the hypertlink?  In what
>   >>> receptacle?  They can't just hang there in the ether so to speak.
>   >>
>   >>> The solution must be good for at least these os's: windows, linux,

> unix,
>   >>> mac.
>   >>
>   >> It's not so much the OS that the solution has to cater for, as the 
> browser
>   >> used to view your page. In this case though, anchors and images are

> pretty
>   >> standard, so nothing to worry about.
>   >>
>   >>> What tags do I use to insert the pics?
>   >>
>   >> An example:
>   >>
>   >> <img src="cat.jpg" alt="A cat sitting curled up on a mat in front
of 
> a
>   >> fire" title="Warm and cosy" width="50" height="40">
>   >>
>   >> ...where
>   >> src = source / path to the file from the current web page location;
>   >> alt = alternative content of the image - purely decorative images
may 
> just
>   >> need alt="" rather than alt="Curly page corner", say;
>   >> title = optional extra info about the image - usually manifests 
> itself as
>   >> the tooltip that appears when you hover over the image;
>   >> width, height = width and height of the image.
>   >>
>   >> If you want to make the *image* the hyperlink, then you'll need to 
> put the
>   >> image inside the anchor:
>   >>
>   >> <a href="felines.html"><img src="cat.jpg" ...></a>
>   >>
>   >>
>   >>> Looking forward to relevant replies
>   >>
>   >> Most of this info is freely available via the receptacle known as 
> Google,
>   >> btw...
>   >>
>   >> -- 
>   >> Gazza
>   >> Mobile Number Network Checker - http://mnnc.net/
>   >> Leovanna Leonbergers - http://leovanna.co.uk/
>   >> Scarlet Town - http://scarlettown.co.uk/
>   >
> You transfer them, using an ftp program, into a suitable directory 
> (usually)
> on the server carrying your web site. F'rinstance, I have a sort'v 
> standard
> set-up for my sites with directories called -
> images_site
> images_front_page
> images_departments
> images_products
> etc
> (I use that nomenclature because it keeps similar directories together.)
> Your tag then becomes -
> <a href="images_front_page/felines.html"><img src="cat.jpg" ...></a>

images are not generally stored in the root like this.

generally, the rule is that images are stored in a subdirectory under
where 
the HTML files are stored, rather than being in the same directory.
HTML files are not stored in an images directory (unless you are putting
in 
a blank index.html to prevent people from getting a listing of your
jpegs).
<a href="felines.html"><img src="images/cat.jpg" ...></a>
is a more usual example.
it doesn't hurt to organize your images, either by giving them good names,

or putting them in different directories, or both.




 7 Posts in Topic:
inserting jpgs and gifs
"ergo_sum" <  2005-10-11 10:02:12 
Re: inserting jpgs and gifs
Gazza <news@[EMAIL PRO  2005-10-11 15:17:20 
Re: inserting jpgs and gifs
"ergo_sum" <  2005-10-11 16:16:41 
Re: inserting jpgs and gifs
MikesBrain <Mike@[EMAI  2005-10-11 21:24:16 
Re: inserting jpgs and gifs
"Jim Michaels"   2006-02-03 17:15:27 
Re: inserting jpgs and gifs
Gazza <news@[EMAIL PRO  2005-10-12 13:56:28 
Re: inserting jpgs and gifs
"Jim Michaels"   2006-02-03 20:53:55 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat May 17 1:40:14 CDT 2008.