How to change image in template

‌ Hi, 

I am writing a template and I want to create a cover.

In this cover, there will be a default background image, users can change this background image by uploading new pictures.

However I do not know how to get users' uploaded photo and this is my code.

<div class="header section edit nodrop safe-mode" style="background-image:url('< ?php print template_url('images/'); ? > header.jpg'); bottom: 0px;" rel="global" field="header">

You must be logged in to reply on this thread


Sign Up
lungc4