Page 1 of 1

A different header image for each page/section

Posted: Mon Nov 17, 2014 10:11 am
by burlington
This has probably been dealt with before but I can't find anything.
Using CMSMS 1.11.10.

If each page or section is to have a different header image, does this require individual templates with the header image location embedded or is there a simpler way through this problem?

I don't like the idea of a proliferation of templates as non-header image changes later on would have to be made to many templates.

Thanks
Martin

Re: A different header image for each page/section

Posted: Mon Nov 17, 2014 11:01 am
by velden
Have a look at the content_image tag which is present in default installations of cmsms.

You can use the module CGSmartImage to resize/crop the image to the dimensions needed.

Module GPFilePicker can be used too. It can be used as a 'content block' (like content_image) and has a very nice UI and feature to upload an image (instead of only selecting images that are uploaded before).

I think there should be code examples on this forum. Use the search function.

Re: A different header image for each page/section

Posted: Mon Nov 17, 2014 11:26 am
by Rolf