Author Topic: How to Post a Photo  (Read 4010 times)

William Brillinger

  • Dispatcher (Admin)
  • Conductor
  • *****
  • Posts: 1140
    • Precision Design Co.
How to Post a Photo
« on: October 07, 2015, 08:15:05 AM »
To insert images as Attachments below your post:
  • Open the Attachments and other options at the bottom of the post window
  • Attach the image you want to post
  • Save your post

To insert Inline images in your post:
  • Open the Attachments and other options at the bottom of the post window
  • Attach the image (or images) you want to post
  • Place your cursor in your post where you want the image to be
  • Click the Insert Attachment # link from the list of attachments
  • Save your post

Note: Preview of inline images displays an error message instead of the image

Sample inline image:

2015-10-03 Proposed RailPro Notch Indicator.JPG

Inline Image options

You can modify inline images with any of the following parameters:
Note: msg must be the last parameter, and must not be changed.

Code: [Select]
width={width} => Desired width of image to show.  Valid: positive integers.
height={height} => Desired height of image to show.  Valid: positive integers.
float={float} => Floats image to relation to everything else.  Valid: left, right, center
margin={pixels} => Margin around inline attachment.  Valid: positive integers
margin-left={pixels} => Left margin around inline attachment.  Valid: positive integers
margin-right={pixels} => Right margin around inline attachment.  Valid: positive integers
margin-top={pixels} => Top margin around inline attachment.  Valid: positive integers
margin-bottom={pixels} => Bottom margin around inline attachment.  Valid: positive integers
border-style={style} => Border style.  Valid: none, dotted, dashed, solid, double, groove, ridge, inset, outset
border-width={pixels} => Border width around inline attachment.  Valid: positive integers
border-color={color} => Border color.  Valid formats: plain text, #xxx, #xxxxxx, rbg(d,d,d)

Sample Code:
sample code.JPG
« Last Edit: November 24, 2017, 05:57:46 PM by William Brillinger »
- Bill Brillinger, RPUG Admin

Modeling the BNML in HO Scale, owner of Precision Design Co., and RailPro Dealer.


hirailer

  • Engineer
  • ***
  • Posts: 59
Re: How to Post a Photo
« Reply #1 on: December 17, 2015, 06:33:58 PM »
Images should be resized before posting to the forum.

Mel
Having more fun with RailPro

yvesmary

  • Fireman
  • **
  • Posts: 41
Re: How to Post a Photo
« Reply #2 on: March 09, 2016, 10:20:07 PM »
Hi Bill,

When I first looked at your Inline Image Options it was all Greek to me. But a second look at it seems a little less daunting.

Looking at your sample code am I right in supposing that for attachment id=1, for example, you could add so many parameters that it might make it stretch even into a second line?

Thank you,

Yves in Ponoka, Alta

William Brillinger

  • Dispatcher (Admin)
  • Conductor
  • *****
  • Posts: 1140
    • Precision Design Co.
Re: How to Post a Photo
« Reply #3 on: March 10, 2016, 06:37:34 AM »
The code for the sample screen layout image is this:
attachment id=1 width=200 border-style=solid border-width=1 msg=24

The longest code you could probably have would be this:
attachment id=1 width=200 height=150 float=center margin=5 margin-left=5 margin-right=5 margin-top=5 margin-bottom=5 border-style=double border-width=2 border-color=red msg=24
- Bill Brillinger, RPUG Admin

Modeling the BNML in HO Scale, owner of Precision Design Co., and RailPro Dealer.