Feature Request - add Course banner image

This forum post has been removed

Number of replies: 2
The content of this forum post has been removed and can no longer be accessed.
In reply to Deleted user

Re: Feature Request - add Course banner image

by Luca Bösch -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers Picture of Testers
Dear Cédric

Boost Union theme has that feature and it is possible to choose whether you want the course title above the image, under the image or superimposed to the image. Since Boost Union visually doesn't change anything, out-of-the box, for your Moodle installation you could go this way and using it.
It's obviously also possible to borrow the code there to combine to a Moodle Core feature request issue.
For the moment there are no different images for the header image and the course image. But of course, if you want to build and then contribute that, heading over to https://github.com/moodle-an-hochschulen/moodle-theme_boost_union opening a issue and contributing there is also a possibility.

Best,
Luca
Average of ratings: Useful (2)
In reply to Deleted user

Re: Feature Request - add Course banner image

by Michael Hughes -
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers
We implemented a banner feature into our theme, so that a "standardised" course banner is generated from the core course image setting and some well defined custom course fields which we add to our Moodle instance, which are then "overlaid" as HTML (so it's not technically a "banner" so we don't need to deal with accessibility, save for describing what is defined as a "decorative" image): 

Example course banner image generated from custom course fields and course image
this allows the course image to still be used / override a generated tile image but is more specific as the banner, and helps with consistency (rather than defining a different banner image)

Moodle already has some functions for generating images (see what happens for course tiles, with the geometric design) so it may be a small step to go from a simple geometric image, to having some sort of setting generator where an admin can specify existing (or custom fields) to using in a pre-defined image: {{shortname}}-{{fullname}} --> "BF101-Princples of truck driving".


Average of ratings: Useful (1)