RailPro User Group

Welcome to RPUG => Forum Tips and Help => Topic started by: William Brillinger on October 07, 2015, 08:15:05 AM

Title: How to Post a Photo
Post by: William Brillinger on October 07, 2015, 08:15:05 AM
To insert images as Attachments below your post:

To insert Inline images in 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
Title: Re: How to Post a Photo
Post by: hirailer on December 17, 2015, 06:33:58 PM
Images should be resized before posting to the forum.

Mel
Title: Re: How to Post a Photo
Post by: yvesmary 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
Title: Re: How to Post a Photo
Post by: William Brillinger 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
Title: Re: How to Post a Photo
Post by: gregeusa on March 21, 2022, 11:28:06 AM
Is there a max size in pixels "rule", many cameras shoot 4k x 3k or even larger.

In my forums I usually ask people to limit to around 1k horizontally unless there is an unusual need for more detail.

(I realize this is an old post, but looks the right place)

Greg
Title: Re: How to Post a Photo
Post by: William Brillinger on March 21, 2022, 11:33:40 AM
It is our hope that people will choose sizes appropriate to what they are sharing.