Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

BBCode Question-Resizing image previews

Forum Index > Core > Help >

Pages: 12

Saa's AvatarSaa
Saa's Avatar
I was wondering if there's a way to resize an image in a post so that it appears a certain size but when you open it in a new tab, it would show the original size. I know you can do this with HTML but I can't find anything about BBCode and I'm bad at figuring stuff out for BBCode. :)
Kee Berry

Kee Berry

Special Berry

(: 0)

This berry is favoured by those who train valiantly in physical combat.

Flavour: Sweet
Colour: Pink
Firmness: Soft
Growth time: 96 hours

Sells for 40

Lv. 100 — +1,717,905
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryAspear Berry
Cheri Berry (SPICY)
Chesto BerryCheri Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Sour food
Grass
Happiness 27%
Bold nature
Clear Gummi

Clear Gummi

Consumable

(: 0)

A food item that raises a Pokémon's IQ. Ice-types like it the most.

Sells for 800

Lv. 49 — 4,475 / 7,437
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryAspear Berry
Cheri Berry (SPICY)
Chesto BerryCheri Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Any food
Grass
Happiness 27%
Serious nature
Pink Gummi

Pink Gummi

Consumable

(: 0)

A food item that raises a Pokémon's IQ. Poison-types like it the most.

Sells for 800

Lv. 25 — 1,526 / 1,676
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryAspear Berry
Cheri Berry (SPICY)
Chesto BerryCheri Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Spicy food
Grass
Happiness 27%
Lonely nature
Black Gummi

Black Gummi

Consumable

(: 0)

A food item that raises a Pokémon's IQ. Dark-types like it the most.

Sells for 800

Lv. 26 — 1,344 / 1,833
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryAspear Berry
Cheri Berry (SPICY)
Chesto BerryCheri Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Sour food
Grass
Happiness 27%
Bold nature
Blue Gummi

Blue Gummi

Consumable

(: 0)

A food item that raises a Pokémon's IQ. Water-types like it the most.

Sells for 800

Lv. 7 — 8 / 78
Aspear BerryAspear Berry
Aspear Berry (SOUR)
Cheri BerryAspear Berry
Cheri Berry (SPICY)
Chesto BerryCheri Berry
Chesto Berry (DRY)
Pecha BerryPecha Berry
Pecha Berry (SWEET)
Rawst BerryRawst Berry
Rawst Berry (BITTER)
Likes:
Sweet food
Water
Happiness 27%
Jolly nature
Click to feed us, we're hungy. ^
Bounsweet GIFs official animated sprites
Yeah's AvatarYeah
Yeah's Avatar
I don’t know what I’m doing :/
Avatar made by KitKatKutie2 LF someone to help make shiny mew forum signature
145/550 | Buying for 250k
2.14/28 | Buying for 500k
1400/82500 | Buying for 4k
Shiny Charm and Box Lending
Saa's AvatarSaa
Saa's Avatar
bump
Saa's AvatarSaa
Saa's Avatar
bump :(
Saa's AvatarSaa
Saa's Avatar
buuumpp
Dingo Blue's AvatarDingo Blue
Dingo Blue's Avatar
unfortunately there's no bbcode for image resizing :( you have to use css though I don't have that code on hand i had a suggestion to implement image resizing bbcode but it got deleted for inactivity so off
Saa's AvatarSaa
Saa's Avatar
Oh, well thanks for the info. If anyone sees this and knows the CSS for it please let me know o.o
Colorful's AvatarColorful
Colorful's Avatar
I’ve got the css for this! I’m not at my computer right now though D: I’ll edit this post with the code when i’m able ^^
Zach ★ They / He ★ 19 I collect quiet nature Pokemon! Trades Shop Coding Stuff LF Rock/Flying/Fairy Z Crystals
Saa's AvatarSaa
Saa's Avatar
Yesss thank you!!
Colorful's AvatarColorful
Colorful's Avatar
Hello! My computer exploded as soon as I got out of bed and I've spent all day fixing it......... well..... ahem. Anyways. Sorry this is so late! using a backup computer now In order to adjust an image's size, you'll want to start out with a styleclass. The style class name can be anything (but cannot use spaces! I suggest using one word always).
[sc=style_class_name][img]image_url_here.png[/url][/sc]
Under (or above, depends on your preference) all your content, you'll want to open your style tags like so;
[style] [/style]
Then, you'll want to insert your actual styling of the css; this can be done in many ways. I suggest only adjusting either the width OR height, and setting the other to auto so that your image scales correctly. You can do this with the actual pixel sizing of the image;
[style] .style_class_name { width: 100px; height: auto; } [/style]
Or you can do this with a percentage, which is generally more mobile friendly. (As far as I know, you cannot go above 100%. If you want the image larger then it's actual size, you can use pixels for that, like shown above!).
[style] .style_class_name { width: 50%; height: auto; } [/style]

I hope this made sense to you! If you have any questions feel free to PM me or post again here <3

Pages: 12

Cannot post: Please log in to post

© PokéFarm 2009-2021 (Full details)Contact | Rules | Privacy | WikiGet shortlink for this page