• 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:
  • Carla Burke
  • Nancy Reading
  • r ranson
  • John F Dean
  • Timothy Norton
  • paul wheaton
  • Jay Angler
stewards:
  • Pearl Sutton
  • Anne Miller
  • Tereza Okava
master gardeners:
  • Christopher Weeks
gardeners:
  • M Ljin
  • Matt McSpadden
  • Megan Palmer

Permies.com ignoring BBcode/HTML tags

 
gardener
Posts: 567
Location: The North
292
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: 42827
Location: Left Coast Canada
15907
9
art trees books chicken cooking fiber arts
  • 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: 42827
Location: Left Coast Canada
15907
9
art trees books chicken cooking fiber arts
  • 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: 42827
Location: Left Coast Canada
15907
9
art trees books chicken cooking fiber arts
  • 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: 42827
Location: Left Coast Canada
15907
9
art trees books chicken cooking fiber arts
  • 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: 567
Location: The North
292
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: 42827
Location: Left Coast Canada
15907
9
art trees books chicken cooking fiber arts
  • 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 ^
 
Those cherries would go best on cherry cheesecake. Don't put those cherries on this tiny ad:
permaculture bootcamp - gardening gardeners; grow the food you eat and build your own home
https://permies.com/wiki/bootcamp
reply
    Bookmark Topic Watch Topic
  • New Topic