Drupal Background Image as Block or Node
Posted
by Marcy Sutton
on Stack Overflow
See other posts from Stack Overflow
or by Marcy Sutton
Published on 2010-03-14T07:32:46Z
Indexed on
2010/03/14
7:35 UTC
Read the original article
Hit count: 396
Hi There.
I am having trouble wrapping my head around how to make editable background images in my custom Drupal 6 theme. My client wants to have a different background image for each main section (which use multiple content types: page, blog, image gallery)...
I am wondering, is there a way to make a custom content type into a dynamic background image block? I am using the Image, Image Cache, Views, CCK, Image Assist, Panels, Filefield, and Imagefield modules.
What I'd like to do is add a background image field to various content types that allows a user to reference an image from the content library or upload a new image (similar to ImageAssist), and have it apply to a region in my template. Any suggestions on the best approach for this?
Thank you!
© Stack Overflow or respective owner