• Post Reply Bookmark Topic Watch Topic
  • New Topic
permaculture forums growies critters building homesteading energy monies kitchen purity ungarbage community wilderness fiber arts art permaculture artisans regional education skip experiences global resources cider press projects digital market permies.com pie forums private forums all forums
this forum made possible by our volunteer staff, including ...
master stewards:
  • Nancy Reading
  • Carla Burke
  • r ranson
  • John F Dean
  • paul wheaton
  • Pearl Sutton
stewards:
  • Jay Angler
  • Liv Smith
  • Leigh Tate
master gardeners:
  • Christopher Weeks
  • Timothy Norton
gardeners:
  • thomas rubino
  • Jeremy VanGelder
  • Maieshe Ljin

Permies.com ignoring BBcode/HTML tags

 
gardener
Posts: 470
Location: The North
229
cat purity gear tiny house books bike fiber arts bee solar woodworking ungarbage
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hiya,

I want to link an image from another site but it's ridiculously big. So me, being lazy, thought I'd use my very rusty coding knowledge to inline resize the image in HTML

<img src="https://www.tripsavvy.com/thmb/QtkeVP-GCHGQq1a3lYev8cpgcm8=/2121x1414/filters:fill(auto,1)/GettyImages-542124028-59efc648c412440011deb3b2.jpg" alt="Manhatten Bridge walkway" width="212" height="141">

That displays the image (when I enable HTML in my posts) but doesn't resize it.

When that didn't work, I searched for BBcode options and, according to BBCode.org, tried
[img=212x141]https://www.tripsavvy.com/thmb/QtkeVP-GCHGQq1a3lYev8cpgcm8=/2121x1414/filters:fill(auto,1)/GettyImages-542124028-59efc648c412440011deb3b2.jpg[/img]
and then


Neither of which display anything.

I had a quick nosy around coderanch to see if there was more info about the bbcode implementation that Paul uses and couldn't find anything relevant.

Is there a list somewhere of what html and bbcode tags permies.com honours please?
 
steward & author
Posts: 38499
Location: Left Coast Canada
13725
8
books chicken cooking fiber arts sheep writing
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
HTML is really tricky.  I suspect the option to post in pointy bracket code is mostly there so we can catch spammers easier.  Most of the time it breaks the page.  

There should be an easy way to resize with the bb code.  I just got to figure out where the tutorial is.
 
r ranson
steward & author
Posts: 38499
Location: Left Coast Canada
13725
8
books chicken cooking fiber arts sheep writing
  • Likes 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
test

 
r ranson
steward & author
Posts: 38499
Location: Left Coast Canada
13725
8
books chicken cooking fiber arts sheep writing
  • Likes 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
This did the trick

 
r ranson
steward & author
Posts: 38499
Location: Left Coast Canada
13725
8
books chicken cooking fiber arts sheep writing
  • Likes 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
and the tutorial
https://permies.com/wiki/52623/formatting-tags-permies-posts-awesome#426719
 
James Alun
gardener
Posts: 470
Location: The North
229
cat purity gear tiny house books bike fiber arts bee solar woodworking ungarbage
  • Likes 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Well that's embarrassing... Thanks R! I found that help page and completely skipped the important bit. I need to remember the 2 ears, one mouth rule.

So, set the width after the URI and let the software sort out the height.

(I swear that image that appeared in my first post, didn't appear in the preview!!!)

Maybe there's a reason I'm off work ill the moment, my brain clearly isn't functioning.

Thanks again R, I'll go back to my knitting.
 
r ranson
steward & author
Posts: 38499
Location: Left Coast Canada
13725
8
books chicken cooking fiber arts sheep writing
  • Likes 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've long suspected that  the preview doesn't 'see' all the BB code.  For example, it ignores hr (horizontal line)






^like this ^
 
Trust God, but always tether your camel... to this tiny ad.
Switching from electric heat to a rocket mass heater reduces your carbon footprint as much as parking 7 cars
http://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic