BBCode

If you want to talk about your personal paperweight, you've found the right place!

Moderator: Moderators

BBCode

Postby ReemZ » Fri Jul 03, 2009 2:18

Just a simple question: can't seem to find out exactly how to fix the width and height of an image using the img tag...like when you'd want to post some pictures that are rather large and scale them down for this forum?
(Yes I've googled, [ img width=W height=H ] and [ img=W,H ] both fail on this forum, BBCode-link east of this text box doesn't help either...)

Any clues? :cyclops:
Handtekening? Zeg...ik ga niet op m'n monitor schrijven!
ReemZ
Old Dear Hen
 
Posts: 701
Joined: Mon Oct 27, 2008 10:50
Location: Here! No, here! Over heeeeeeere!

Re: BBCode

Postby ReemZ » Fri Jul 03, 2009 2:21

Oh and some other tags that might be useful (at least in the Off Topic section :mrgreen:) would be spoiler and good old s (strike) ;)
Handtekening? Zeg...ik ga niet op m'n monitor schrijven!
ReemZ
Old Dear Hen
 
Posts: 701
Joined: Mon Oct 27, 2008 10:50
Location: Here! No, here! Over heeeeeeere!


Re: BBCode

Postby ReemZ » Fri Jul 03, 2009 23:59

Fitzcarraldo wrote:BBCode
BBCode guide

Thanx Fitz, but I'd already found those ;)
Problem is I've got some pictures I'd like to post here, but they're a bit on the large side.
I've seen some nice codes on another forum that display pics in a reasonable size inside the post and full size when clicked, but they don't seem to work here :(

I guess it's something the forum admin would have to enable?
Handtekening? Zeg...ik ga niet op m'n monitor schrijven!
ReemZ
Old Dear Hen
 
Posts: 701
Joined: Mon Oct 27, 2008 10:50
Location: Here! No, here! Over heeeeeeere!

Re: BBCode

Postby Fitzcarraldo » Sun Jul 05, 2009 10:20

Seems that phpBB does not support the strike-through code or the table code, but it appears that all the others are supported by phpBB. From those links I posted it does not appear that you can resize images with phpBB, which appears to use a subset of BBCode. So looks like you'll have to copy the images and resize them yourself. It's very easy to do this. For example, if you want to reduce them to say 25% full size for display, with just a link below for the full-size image, you'd type the following to create the smaller image:

Code: Select all
$ cp original_image.jpg thumbnail_image.jpg
$ mogrify -resize 25% thumbnail_image.jpg

then upload both images to your image storage site and use the forum's Img code around the thumbnail link but just put the URL to the full-size image underneath.

:arrow: ImageMagik: Command-line tools: Mogrify is a wonderful tool.

Alternatively, some on-line image storage sites (photobucket is one example) do this kind of thing for you. They provide you with a thumbnail image and a URL for it, which is what you post in the forum. When you click on it, it leads you to the full-size image. So you don't need to do anything special in the post itself. For example, see the post viewtopic.php?f=53&t=1134&start=260#p97643. Click on one of the thumbnails and you'll see what I mean (notice the IMG Thumb URL box in the bottom left corner of the photobucket page?).

EDIT: See posts further on in this thread -- Thev00d00 has now enabled the BBCodes for strike-through, image resizing and tables (although the tables do not work very well).
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: BBCode

Postby wolfden » Thu Oct 29, 2009 9:54

wolfden
Sharecropper
 
Posts: 9050
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: BBCode

Postby Thev00d00 » Thu Oct 29, 2009 15:34

I added strikethrough as [ s ] test test test

*edit oh, yeah im good, looking into image now
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: BBCode

Postby Thev00d00 » Thu Oct 29, 2009 15:45

Code: Select all
[img]http://www.wisconsinrivers.org/images/rivers/PikeRiver.jpg[/img]

Image

Code: Select all
[img2=300x225]http://www.wisconsinrivers.org/images/rivers/PikeRiver.jpg[/img2]



* I got skillz, haha

Code: Select all
[img2=150%x150%]http://www.wisconsinrivers.org/images/rivers/PikeRiver.jpg[/img2]

Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: BBCode

Postby Fitzcarraldo » Thu Oct 29, 2009 15:54

While you're at it, can you please add the Table codes? Ta.
User avatar
Fitzcarraldo
Sagely Hen
 
Posts: 7981
Joined: Sat Mar 10, 2007 5:40
Location: United Kingdom

Re: BBCode

Postby Thev00d00 » Thu Oct 29, 2009 16:06

Code: Select all
[table]
[tr]
  [th]Col 1[/th]
  [th]Col 2[/th]
[/tr]
[tr]
  [td]w00t[/td]
  [td]w00t[/td]
[/tr]
[tr]
  [td]Go LolCats[/td]
  [td]Thev00d00 rocks![/td]
[/tr]
[/table]






Col 1 Col 2
w00t w00t
Go LolCats Thev00d00 rocks!


* Edit, seems the theme is lacking the table CSS stuff, get onto Ajez about that.
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
Thev00d00
Generally Awesome (tm)
 
Posts: 1472
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Next

Return to Off Topic

Who is online

Users browsing this forum: No registered users and 1 guest

cron