Closed hermannkm closed 6 years ago
The image has to be available publicly without any login. So you can use for example links to images on your moodle site, that can be accessed without login or you link images on wikimedia.org, etc.. You can not use images from courses, etc., that require login.
OK, sorry, but where is the configuration for these images? This link is an exact copy of the link campus theme generates for my site without login. Is the layout for the emails produced by the theme -- or did I change this manually (really sorry, if I forgot)?
Odd, as the code is:
$hdbackgroundimage = $PAGE->theme->setting_file_url('frontpagebackgroundimage', 'frontpagebackgroundimage');
which uses the core setting_file_url method which should be returning https.
If you've changed to https recently, then do a 'Purge all caches'.
maybe switching to https did not work out 100%. I recommend to use https conversion tool: https://moodle.klocker-mark.eu/admin/tool/httpsreplace/index.php
And update your image there: https://moodle.klocker-mark.eu/admin/settings.php?section=theme_campus_forum
Thank you, the last one worked instantly!
I am using a background picture in campus theme. This seems to be included in mails from the standard announcement forums.
As I run my site on https:// the link inserted into the mail, which is
http://moodle.klocker-mark.eu/pluginfile.php/1/theme_campus/frontpagebackgrou= ndimage/1501210797/norcia2.png
does/can not work. Perhaps this is moodle related and not campus.