How to hardcode an image into theme, uploaded through dashboard?

Permalink
Hello world!
I am trying to do the following: I wish to hardcode an image into a theme in a way, that would allow the user to change the picture by simply uploading a picture with a specific name. The point is: I want to have an image, which is an image-block, that is automatically added on each page, and has it's image set as a specific file, which the user can easily change through C5. I know that this could be solved simply by css backgrounds and changing files on server through ftp, but I am assuming that the end-user will not have the skills to do such a task, and neither do I want the end user to have to change the header images one-by-one. I also know of a way that this can be achieved through scrapbook items, but I would like to know if this can be done through direct theme coding, because scrapbook items can be accidentally deleted, modified etc... thank you, in advance, for any advice!

 
jordanlev replied on at Permalink Reply
jordanlev
Create a custom attribute of the "Image/File" type, and output that in your page type template. Someone else was asking about this just yesterday, see this thread for some code:
http://www.concrete5.org/community/forums/customizing_c5/image-and-...
szucslaszlo replied on at Permalink Reply
Thanks, I'll look into it!