bbcode test

From the American Heritage Dictionary
mis·cel·la·ne·a - pl.n.: Miscellaneous items or written works collected together.
Post Reply
User avatar
Strava
Rookie
Rookie
Posts: 32
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 18 times

bbcode test

Post by Strava »

testing bbcode to link image with thumbnail:

Image

Code: Select all

[url=https://i.imgur.com/pSaDd5L.jpg][img]https://i.imgur.com/pSaDd5L.jpg[/img][/url]
nope. doesn't work. back to google...
User avatar
Flake
VFA-49
VFA-49
Posts: 4375
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Boeing F/A-18A
Location: Australia
OS: Windows 10 (x64)
Has thanked: 861 times
Been thanked: 1279 times
Contact:

Re: bbcode test

Post by Flake »

1) Width tag doesn't work with IMG.

2) You might need to make two images: one small for the thumbnail, to be used in the IMG tag, one large to by linked by the URL tag.
I am an accountant working full-time (and some). I'm not here as often as I would like to be. Send a message if you need me. There are a few people in the community who can get in contact with me urgently if you need - don't be afraid to ask. I just don't check here as frequently as I used to. Sorry!
User avatar
Welshy
Staff
Staff
Posts: 2042
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: Sea Jet
Location: Wales
OS: Windows NT
Has thanked: 249 times
Been thanked: 254 times
Contact:

Re: bbcode test

Post by Welshy »

Fimg allows width
YSFHQ Elected Overlord
Overlord of VMFA-125 (CVW-171)
Previously Supreme Overlord of 323rd CAW
Friendly Neighbourhood Miscreant
Head Honcho at Talking Aero and British Defence
If you see me post like this in a thread pay attention!
User avatar
Strava
Rookie
Rookie
Posts: 32
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 18 times

Re: bbcode test

Post by Strava »

testing with fimg

[fimg width=20]https://i.imgur.com/pSaDd5L.jpg[/fimg]


test imgur thumbnail option:

Code: Select all

[url=https://imgur.com/niadAGo][img]http://i.imgur.com/niadAGot.png[/img][/url]
Image
User avatar
Welshy
Staff
Staff
Posts: 2042
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: Sea Jet
Location: Wales
OS: Windows NT
Has thanked: 249 times
Been thanked: 254 times
Contact:

Re: bbcode test

Post by Welshy »

[fimg={NUMBER1},{NUMBER2}]{URL}[/fimg]

So for your image you need to set both X and Y
YSFHQ Elected Overlord
Overlord of VMFA-125 (CVW-171)
Previously Supreme Overlord of 323rd CAW
Friendly Neighbourhood Miscreant
Head Honcho at Talking Aero and British Defence
If you see me post like this in a thread pay attention!
User avatar
Strava
Rookie
Rookie
Posts: 32
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 18 times

Re: bbcode test

Post by Strava »

2nd test of fimg




ok,this works the way I want it to:

Code: Select all

[url=http://i.imgur.com/niadAGo.png][fimg=300,190]http://i.imgur.com/niadAGo.png[/fimg][/url]
Clicking the thumbnail takes you directly to the full size image.
User avatar
Strava
Rookie
Rookie
Posts: 32
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 18 times

Re: bbcode test

Post by Strava »

one more test using imgur thumbnail

Image


Image


I like the way this works:

Code: Select all

[url=https://i.imgur.com/SYHbD0x.jpg][img=https://i.imgur.com/SYHbD0xt.jpg[/img][/url]
The first url is as supplied by imgur.
The second is that same url with a lowercase "t" added to the end of the image name.
Produces a clickable thumb that goes to the full size image and no need to calculate the thumbnail size to maintain aspect ratio.
Post Reply

Who is online

Users browsing this forum: No registered users and 7 guests