Skip to content

[IMP] Add image option to cards, update guidelines - #19141

Open
fw-bot wants to merge 1 commit into
masterfrom
master-17.0-add-card-img-nikbr-550648-fw
Open

[IMP] Add image option to cards, update guidelines#19141
fw-bot wants to merge 1 commit into
masterfrom
master-17.0-add-card-img-nikbr-550648-fw

Conversation

@fw-bot

@fw-bot fw-bot commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Summary:

Extends the custom Card RST directive to allow for images and alt text based on bootstrap conventions. Added an example in the guidelines and tweaked layout javascript to make card images render correctly.

Task: https://www.odoo.com/odoo/project/3835/tasks/6393116

image
 .. card:: Card with image
                :target: ../documentation
                :large:
                :image: placeholder-card-image.png
                :alt: Placeholder card image

                Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor.

This 17.0 PR can be FWP up to master.

Forward-Port-Of: #18946

@robodoo

robodoo commented Jul 27, 2026

Copy link
Copy Markdown
Collaborator

Pull request status dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants