Skip to Content
Login Page Background Image
login_bg_img_knk

Login Page Background Image

Sets a background image on the login page from the company form.

  • Odoo 17
  • Website & eCommerce
  • 17.0.1.0
1

Overview

The default login page is plain and carries no brand. This module adds an image field on the company and applies it as the background of the frontend layout used by the login page. It depends on base and portal, so it works for both backend and portal logins. Administrators change the image at any time, which gives a branded first impression.

2

Usage steps

  1. 1

    Open the company form

    Go to Settings, Companies and open the company. The form is extended with an image field for the login background. Only administrators reach it.

    • Model: res.company
    • Field: Image
  2. 2

    Upload the image

    Click the image field and upload a picture, then save. The image is stored as binary on the company. A controller serves it to the login page.

    • Binary field bg_image
    • Save the company
  3. 3

    Template applies the background

    The frontend layout template reads the company image and sets it as page background. The login page renders with it. No code change is needed per database.

    • Template custom_bg_image
    • Inherits web.frontend_layout
  4. 4

    Check the login page

    Open the login page in a private window to confirm the image shows. Replace the image to change the look. Removing it restores the default.

    • Test in a private window
    • Replace to update
4

Roles

Benefiting roles
Role
System administrator
5

Dependencies

Back to version applications

Want to know more or try this app? Contact us

We can arrange a demo or a trial and answer your questions about Login Page Background Image.

Contact us