You are viewing limited content. For full access, please sign in.

Question

Question

Recommended Size of image of background in Laserfiche forms

asked on April 27, 2017

Dear Team,

 

I would like to use a background image with Laserfiche forms. Could you please advise what is the recommended size and resolution that should be considered?

 

Thank you.

 

Regards,

Vimal

0 0

Replies

replied on April 29, 2017

Size and resolution is really dependent upon the screen resolution of your user's computer.  Typically though, if it is sufficient to be a desktop background on your computer it should work in your forms too.

Here's some CSS you can add to your form to make the image stay fixed in the background behind your form: 

/*Fixed positioning of photo background*/
body { 
  background-repeat : no-repeat; 
  background-position : center; 
  background-attachment : fixed; 
  background-size : cover; 
} 

Note however, that this CSS code will work as expected in the preview of your form, and in the submittal of a form, but when the form is loaded from the approval view (from a user task) the photo background will not be fixed as expected (see more info here: http://answers.laserfiche.com/questions/115183/Fixed-background-image-works-in-preview-but-not-in-the-live-form#115232).

1 0
replied on May 5, 2017

Thx Matthew...did that..prefer to do the referencing through CSS as well...

0 0
replied on May 5, 2017

I'm not certain I understand what you mean by that @████████.

 

0 0
replied on May 5, 2017

In short... the code works great...

 

I meant the referencing of images or background is much better done through CSS rather than themes. Been getting few issues when it comes to download the forms after submission..

 

Thanks for the push Matthew

1 0
replied on May 5, 2017

Glad to hear it is working for you.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.