Our server costs ~$56 per month to run. Please consider donating or becoming a Patron to help keep the site running. Help us gain new members by following us on Twitter and liking our page on Facebook!
Current time: January 18, 2025, 6:59 pm

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
ImgFit MyCode
#1
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: cinjin_banner_border.jpg]
Reply
#2
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
Reply
#3
RE: ImgFit MyCode
Consider it done..

Although the effect is exactly the same but uses more text Thinking
[Image: cinjin_banner_border.jpg]
Reply
#4
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.
Reply
#5
RE: ImgFit MyCode
I'll take your word for it Smile
[Image: cinjin_banner_border.jpg]
Reply
#6
RE: ImgFit MyCode
(June 24, 2009 at 5:11 am)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
Reply



Possibly Related Threads...
Thread Author Replies Views Last Post
  New MyCode Darwinian 2 2997 September 14, 2008 at 1:33 pm
Last Post: Darwinian



Users browsing this thread: 1 Guest(s)