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
Newbie
Newbie
Posts: 29
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 16 times

bbcode test

Post by Strava » Thu Dec 14, 2017 8:32 pm

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
Staff
Staff
Posts: 4208
Joined: Thu Feb 10, 2011 8:47 pm
Favorite Aircraft: Honda CBR1000RR (2004).
Location: Australia
OS: Windows 10 (x64)
Has thanked: 788 times
Been thanked: 1101 times
Contact:

Re: bbcode test

Post by Flake » Fri Dec 15, 2017 1:52 am

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.
Image
Oi. You. Yeah you. Subscribe to my videos. Text your cousins, tell them to do it too!

User avatar
Welshy
Staff
Staff
Posts: 1862
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: AgustaWestland AW189
Location: Chepstow, Old South Wales
OS: Windows 10
Has thanked: 182 times
Been thanked: 156 times
Contact:

Re: bbcode test

Post by Welshy » Fri Dec 15, 2017 12:25 pm

Fimg allows width

YSFHQ Elected Admin
Officer Commanding VMFA-125 (CVW-171)

If you see me post like this in a thread pay attention!
Image

User avatar
Strava
Newbie
Newbie
Posts: 29
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 16 times

Re: bbcode test

Post by Strava » Sun Dec 17, 2017 11:26 pm

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: 1862
Joined: Thu Feb 24, 2011 4:53 pm
Favorite Aircraft: AgustaWestland AW189
Location: Chepstow, Old South Wales
OS: Windows 10
Has thanked: 182 times
Been thanked: 156 times
Contact:

Re: bbcode test

Post by Welshy » Mon Dec 18, 2017 2:17 am

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

So for your image you need to set both X and Y

YSFHQ Elected Admin
Officer Commanding VMFA-125 (CVW-171)

If you see me post like this in a thread pay attention!
Image

User avatar
Strava
Newbie
Newbie
Posts: 29
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 16 times

Re: bbcode test

Post by Strava » Mon Dec 18, 2017 4:08 pm

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
Newbie
Newbie
Posts: 29
Joined: Fri Nov 17, 2017 11:47 am
Favorite Aircraft: Piper Cub
Location: Ohio
OS: Windows 7 HP
Has thanked: 11 times
Been thanked: 16 times

Re: bbcode test

Post by Strava » Mon Dec 18, 2017 4:35 pm

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 2 guests