Uploading images, using images in posts

Submitted by R. Neal on Mon, 2006/03/20 - 2:14pm.

There are two general ways to use images at KnoxViews.com.

For sharing photos with other readers, the easiest way is to use the Image Gallery feature. To include photos or other images such as charts or graphs as part of your blog posts, use the 'file attachments' link on the blog post creation page.

Both of these features are explained in the following topics.

Using the Image Gallery

The image gallery feature creates a special kind of post with all the features of a regular post (it gets posted to the front page, you can add text/commentary, and it allows for user comments) but it automatically handles creating a thumbnail image correctly sized for the front page and a link to the full size photo in the gallery.

To upload a photo to the Image Gallery, use the Create Content "image" link and complete the form. You must provide a title, and you can optionally include topic categories and/or descriptive text.

IMPORTANT: When you fill out the image upload form, be sure to select the 'photos' gallery from the 'Image Galleries' dropdown, or you photo will not appear in any gallery.

Click the 'browse' button to locate the photo/image you want to upload on your local hard drive. When you complete the form and click submit, your photo is uploaded and a thumbnail is automatically created.

Your photo/image will appear in the View Content "image galleries" page, and a thumbnail link to it will appear on the front page.

Uploading images to include in blog posts

To upload an image such as a photo, illustration, chart/graph, etc. that you want to include in a blog post, use the "file attachments" feature on the blog post entry form. Note that these images do not appear in the image/photo gallery or anywhere else except where you explicitly place them.

On the create blog post form, expand the 'file attachments' section that appears under the blog post text box. Click the 'browse' button to locate the photo/image you want to upload on your local hard drive. Then click "attach" to attach the file to the post. (You can attach multiple files/photos.)

Then, you can uncheck the "list" check box so the attachment is not included in the list of attachments. Instead, you want to copy the url of the image file that is displayed in the list of attachments and include that in an HTML 'img' tag in your post. For example:

<img src="http://www.knoxviews.com/files/photo.jpg">

Or:

<img src="/files/photo.jpg">

Notes:

Your images are uploaded to folder 'files'. Images in this folder can be referenced on the KnoxViews.com site as simply '/files/photo.jpg', or with the full http path.

You may upload multiple images from the image upload browser window. After the first image is uploaded, simply click the 'browse' button to locate the next image to upload and repeat as necessary.

Images that appear on the front page must not be wider than 425 pixels to avoid disrupting the layout of the main/front page. Images appearing in the "read more" full page for a single post after the break tag must not be wider than 640 pixels.

You can use the "width=425" property for images on the front page. You can also wrap the image tag with an anchor tag that has a link to the full image so users can click on the front page "thumnail" to see the full image. For images such as photos, you can simply use the photo gallery image upload, which will automatically create the thumbnail and the link.

For variations on placement of your image in your blog post, modify the example <img> tag as follows:

To align the image on the right side of your post, with text flowing on the left, use:

<img src="/files/photo.jpg" align="right">

To align the image on the left side of your post, with text flowing on the right, use:

<img src="/files/photo.jpg" align="left">

When using "right" or "left" alignment, your images should be no wider than 150-200 pixels for proper appearance.

104
vote

Blog-O-Rama

Quote of the Day...
(RoaneViews)

Two Peas in a Pod
(TN Dem News)

July 11th "Paws & Tails Parking Lot Sale" Benefits the New Blount Animal Shelter
(BlountViews)

The C in Cspan Stands for Clown
(Liberadio(!))

Why Al Franken Won
(Liberadio(!))

All A Newspaper Has Is Its Reputation
(Southern Beale)

No Sales Tax at West Roane VFD Fireworks Sale in Wal-Mart Parking Lot
(RoaneViews)

Debbie Rowe to Fight for Custody of Paris & Michael Jackson Jr.
(TN Guerilla Women)

An Open Letter to Mark Sanford
(Vibinc)

Services for Gary Humphreys
(RoaneViews)

All righty then
(Left Wing Cracker)

And Then There Were...Ummm...5?
(Sean Braisted)

This is is why I'm proud to have Steve Cohen as my Congressman
(Left Wing Cracker)

Bruce Pearl To Bring Peace To The Middle East
(Silence Isn't Golden)

EPA Press release on Transfer of Ash to Alabama
(RoaneViews)


Media Blogs

Bredesen Lectures Legislators on License Plates -- Again
(Tom Humphrey)

Robin Has a Website
(Tom Humphrey)

Cobb Successor To Be Elected on Halloween
(Tom Humphrey)

Gibbons 'On Target' With $415,000 In Contributions
(Tom Humphrey)

Happy Fourth of July!
(Michael Silence)

A mashup of satellite images of the TVA ash spill
(Michael Silence)

WaPo gets Ouched! again
(Michael Silence)

Stimulating government
(Michael Silence)

The WaPo's 'PR disaster'
(Michael Silence)

Create your own UT jerseys
(Michael Silence)

Urban Meyer Makes Lane Kiffin His Bitch
(Pith in the Wind)

The Republican Revolution: Recalling the Band of Perverts
(Pith in the Wind)

Senior state Democratic senator files to run for governor
(Michael Silence)

And yet another Ouch!
(Michael Silence)

Tenn. Lethal Injection Method Not Unconstitutional
(Pith in the Wind)


Post Politics

A Political Bromance
(AC Kleinheider)

Rumor Mill In Memphis
(AC Kleinheider)

Press Release This Late Before A Three Day Weekend?
(AC Kleinheider)

The TVA Ash Spill
(AC Kleinheider)

Gibbons Raises $.41 Million Dollars
(AC Kleinheider)

Quote Of The Day
(AC Kleinheider)

Al Gore Wants You To Be Energy Independent On Independence Day
(AC Kleinheider)

Jenny Sanford Leaving The Door Open
(AC Kleinheider)

Is The Blogosphere In Decline?
(AC Kleinheider)

The Hat’s Got A Point
(AC Kleinheider)


Local News

Clinton city manager fires longtime police chief
(Knoxville News Sentinel)

Gibbons trails GOP field, raises $415,000
(Knoxville News Sentinel)

Republican election commissioner defends vote for Democrat
(Knoxville News Sentinel)

Police ID pedestrian killed on Clinton Highway
(Knoxville News Sentinel)

Judge rejects request from Cobbins' attorneys in carjack-slaying
(Knoxville News Sentinel)

Mercy CFO takes Catholic Healthcare post
(Knoxville News Sentinel Business)

Kyle elected Tennessee Regulatory Authority chair
(Knoxville News Sentinel Business)

Caryville wants federal court to hear adult bookstore lawsuit
(Knoxville News Sentinel Business)

FDA denies approval of King Pharma pain drug
(Knoxville News Sentinel Business)

Oil settles lower job on losses; Knox gas falls
(Knoxville News Sentinel Business)

Governor Bredesen Issues Writ of Election
(State of Tennessee)

Bredesen Breaks Ground on Recovery Act Project in Nashville
(State of Tennessee)

Extended Unemployment Benefits Available for Eligible Tennesseans
(State of Tennessee)

THP Gears Up For July 4th Weekend Crackdown on Drunk Drivers
(State of Tennessee)

Tennessee Announces 2009-10 School Meal Guidelines
(State of Tennessee)

4th of July predicted to be big tourist draw in Gatlinburg
(WATE local)

Recession doesn't stop new businesses in Gatlinburg
(WATE local)

Knox investigators lead Tenn. in fighting online predators
(WATE local)

Knox investigators lead Tenn. in fight against online predators
(WATE local)

Knoxville man's business helps people fight attackers
(WATE local)

Thieves steal artist's trailer full of photographs
(WBIR Local)

Vols get commitment from top place kicker in the country
(WBIR Local)

Robin Smith stops in Oak Ridge on campaign trail
(WBIR Local)

LaFollette takes on teen pregnancy problem
(WBIR Local)

Ponzi scheme victims open new biz to recover losses
(WBIR Local)

Fewer road-trippers expected this July 4th, but Sevier Co. may see boost from 'stay-cationers'
(WVLT Local)

EPA approves TVA plan to ship coal ash to Alabama
(WVLT Local)

Southwest Knox County to get new school, leaving some feeling slighted
(WVLT Local)

Plane with Comoros crash survivor arrives in Paris
(WVLT Local)

Report: NKorea likely to fire barrage of missiles
(WVLT Local)


Wire Reports

SC senator defends ouster of Honduran president (AP)
(AP Politics)

Documents describe chaos of Gitmo's early months (AP)
(AP Politics)

US wants privacy in new cyber security system (AP)
(AP Politics)

Pa. senator guilty of $3.5M fraud seeks new trial (AP)
(AP Politics)

Obama uneasy over indefinite Gitmo detentions (AP)
(AP Politics)

Gay marriage case will go to Supreme Court: attorney (Reuters)
(AP Politics)

SC 1st lady says she may forgive husband's affair (AP)
(AP National News)

Obama to tell Putin: Time to move past Cold War (AP)
(AP Politics)

Obama: Court leaves room for affirmative action (AP)
(AP Politics)

Did hacker threaten Sanford and lover over affair? (McClatchy Newspapers)
(AP Politics)

Missile experts see Soviet parts in NKorean rocket (AP)
(AP Politics)

US moving cautiously on new cyber security program (AP)
(AP Politics)

Judge eyes quick action on Calif. gay marriage ban (AP)
(AP Politics)

Capitol Hell: Worst states to govern (Politico)
(AP Politics)

Hospitals nearing a deal with W.H. (Politico)
(AP Politics)

Lawyer: Rowe deciding whether to seek custody (AP)
(AP National News)

Senate bill fines people refusing health coverage (AP)
(AP Politics)

GOP, White House at odds on Sotomayor documents (AP)
(AP Politics)

Obama's housing rescue expands: 6 things to know (U.S. News & World Report)
(AP Politics)

Obama: Indefinite Gitmo detentions big challenge (AP)
(AP Politics)