Current time: 22nd May 2013, 02:10

Our server costs $125 a month to run. Since January 2013 we have raised $263.37.
Please help keep our community online by donating what you can. Also visit our sister site: Freethought Forums!
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImgFit MyCode
23rd June 2009, 18:27
Post: #1
  4k posts! 4 years membership!
ImgFit MyCode
I've just created a new mycode tag to help display your custom images hosted on your own, or someone else's, web space.

This is designed for large images that wouldn't normally fit on your post, or smaller images that you want enlarged. Using imgfit the image will be placed in the centre of your post and will be rescaled to accommodate 90% of the width of the browsers size. It even changes size as you resize your browser window.

For an example see my post on Desktops

Clicking on the image will open a new browser window/tab showing the full size image.

Code:
[imgfit]http://www.someplace.com/reallybigimage.jpg[/imgfit]
[Image: afbanner.jpg]
Rate user Visit this user's website Find all posts by this user
Quote this message in a reply
24th June 2009, 00:55
Post: #2
  10k posts! 4 years membership!
RE: ImgFit MyCode
Could you possibly do it without using the bastard child of Satan (I refer of course to <center>). A nice div would do very well Big Grin
Rate user Find all posts by this user
Quote this message in a reply
24th June 2009, 07:15
Post: #3
  4k posts! 4 years membership!
RE: ImgFit MyCode
Consider it done..

Although the effect is exactly the same but uses more text Thinking
[Image: afbanner.jpg]
Rate user Visit this user's website Find all posts by this user
Quote this message in a reply
24th June 2009, 10:08
Post: #4
  10k posts! 4 years membership!
RE: ImgFit MyCode
It's a worthy sacrifice. At least the XHTML Gods and their son Tim Berners-Lee won't hold it against you on judgment day.
Rate user Find all posts by this user
Quote this message in a reply
24th June 2009, 10:11
Post: #5
  4k posts! 4 years membership!
RE: ImgFit MyCode
I'll take your word for it Smile
[Image: afbanner.jpg]
Rate user Visit this user's website Find all posts by this user
Quote this message in a reply
29th June 2009, 18:28 (This post was last modified: 29th June 2009 18:30 by Purple Rabbit.)
Post: #6
  1k posts! 4 years membership!
RE: ImgFit MyCode
(24th June 2009 10:11)Darwinian Wrote:  I'll take your word for it Smile
You are a true believer and therefore your existence requires no evidence. It may be that I mixed up some things, but you get my drift.
"I'm like a rabbit suddenly trapped, in the blinding headlights of vacuous crap" - Tim Minchin in "Storm"
Christianity is perfect bullshit, christians are not - Purple Rabbit, honouring CS Lewis
Faith is illogical - fr0d0
Rate user Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  New MyCode Darwinian 2 1227 14th September 2008 18:33
Last Post: Darwinian



User(s) browsing this thread: 1 Guest(s)