Free Republic
Browse · Search
News/Activism
Topics · Post Article

To: altura; Miss Marple
The site presupposes that you understand HTML 4 (except for the <form> bits) unless you are posting just text. I could make a pretty good case that everybody who writes should now understand HTML, but I won't. Instead I'll post my standard image rant:

<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png"><p>
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="30%">
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="15%">
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="7%">
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="4%">
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="2%">
<img src="http://upload.wikimedia.org/wikipedia/en/a/a3/Bobdobbs.png" width="1%"> .
gets you:

.

J. R. "Bob" Dobbs receding into infinity...

<img src="http://mumble.com/image.jpg"> substitute the actual source of the image for http://mumble.com/image.jpg This image must be out on a server on the web someplace, not on your machine. This is why people have flickr and picassa accounts. You can easily find out the URL of an existing picture on the web by right-mousing over it and selecting Open Image In New Tab. This will open a tab on your browser containing only that image. The URL of that tab is the one to use as your src="" value.

Some of the photo storage sites on the web (flickr) try to drive web traffic to their site to harvest advertising by providing a convenient pointer to their site that isn't a URL to a .jpg To get the proper URL try right mousing over the image and select Open Image in New Tab. This should get you the naked image itself, without all of the surrounding advertising. This is the URL you want to use.

Size: You can easily vary the size of a given image by specifying it. The native size of the J. R. "Bob" Dobbs picture above is 324x216 pixels. Typical screen pixels per inch numbers for normal displays are in the range of 75 to 150 so the original Dobbs'Head will likely appear on your screen somewhere between 2.88 to 1.44 inches wide.

The next row of Dobbs'Heads are scaled to the width of the enclosing container. We use the width because its value is mostly apparent on the screen. The value of the container's height is less so. The first Dobbs'Head is scaled to 30% of the width of the container. The next at about half that, and so forth... This produces a line of attractive Dobbs'Heads receding into infinity that occupies about half the width of your page, all without needing to know how wide your page is. The size of the images will change if you grab the edge of the page and make it wider or thinner. This is the reason you want to scale images (and anything else, really) by percentages rather than pixels.

In the past it was best to keep your scaling to powers of 2 to minimize scaling artifacts. Current smoothing algorithms and processor speeds make that pretty much unnecessary. Remember that scaling up will not introduce new detail into the existing picture.

Stationary images usually end with .jpg or some variation. Moving images on this forum are only possible using images which end in .gif The .gif format allows for short sequences of stationary images to be presented like a very tiny movie. Currently the forum does not appear to allow embedded video.

You can position an image relative to its surrounding elements by adding the attribute align="middle" to the tag. Recognized attribute values are top, bottom, middle, left and right.

<p><img src="http://jc-evans.com/wp-content/plugins/wp-o-matic/cache/61cb2_zQLMZ.gif" align="right" alt="Kittie doing its nails."></p> gets you:

This is some text to show how it flows around the image. This is before the image in the source HTML with a paragraph called out before the text. Isn't the expression of the cat's face just priceless? ♣

Kittie doing its nails.

And this is text right after the image. I have found left and right attributes to be useful, the rest not so much. You really seem to have to have quite a bit of text for the behavior of the flow to come out. Dinking with the browser width seems to help illuminate the behavior of the flow. Perhaps a smaller picture in the x-axis? But it's sooo cute.

Does adding a paragraph move the text down below the image? Nope, sure doesn't. Think of the anchor as the upper left corner of the image and as far as HTML is concerned that corner goes right after the club following "priceless", but it is aligned right so it starts on the line with the club ♣ and hangs to the right.

In this forum, if you are posting images it is beneficial to place the image in a paragraph of its own and use a closing tag with <p> </p> as it helps the forum software properly place images. Preview is your friend, but you need to remember that that preview window is somewhat constricted in the x-dimension.

The alt="Kittie doing its nails." specifies the text that appears when you mouse over the image. Some folks use these descriptors by running them through vocal-synthesis software. The blind using computers find these descriptors quite helpful. It's important to remember that an image (as well as any other element) can be used as the clickable part of a hot-link.

99 posted on 07/08/2012 6:42:14 AM PDT by Mycroft Holmes (<= Mash name for HTML Xampp PHP C JavaScript primer. Programming for everyone.)
[ Post Reply | Private Reply | To 92 | View Replies ]


To: Mycroft Holmes

LOL.

On Facebook, there is a little thingee that says ‘post picture’. If you click on it you are sent to browse where you can select a pictue and then click post.

I can master that.


115 posted on 07/08/2012 6:55:20 AM PDT by altura (Vote Romney. He's our only hope.)
[ Post Reply | Private Reply | To 99 | View Replies ]

To: Mycroft Holmes
I KNOW how to do HTML, sir. I have been here since 1998.

The question is WHY should one have to do it, when other sites allow you to post images more easily?

So thanks for showing off your skills. I am not particularly impressed, but perhaps some other people are.

Here, interpret this:


133 posted on 07/08/2012 7:11:36 AM PDT by Miss Marple
[ Post Reply | Private Reply | To 99 | View Replies ]

To: Mycroft Holmes
Great job!

I repeat my earlier post. We are all at varying levels here on FR. I could not post a photo here if my life depended on it.(I can build a fishing rod however,hence rodguy)

147 posted on 07/08/2012 7:23:19 AM PDT by rodguy911 (FreeRepublic:Land of the Free because of the Brave--Sarah Palin 2012)
[ Post Reply | Private Reply | To 99 | View Replies ]

To: Mycroft Holmes

There are forums which allow for putting up images using a simple copy and paste.


177 posted on 07/08/2012 7:53:13 AM PDT by scram2
[ Post Reply | Private Reply | To 99 | View Replies ]

To: Mycroft Holmes

There are forums which allow for putting up images using a simple copy and paste.


178 posted on 07/08/2012 7:54:14 AM PDT by scram2
[ Post Reply | Private Reply | To 99 | View Replies ]

Free Republic
Browse · Search
News/Activism
Topics · Post Article


FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson