By mkogel on
I am using Drupal 6.1. I have installed HeaderImage 6.x development snapshot version. I have followed all the instructions in the read me file but I am stuck.
It says "upload one image into the node using a CCK image field."
I don't quite understand the use of CCK and not sure whether I am supposed to download a module or not.
I have checked the documentation but can't get my head around it yet.
Is there any other way to get the images? If I need this CCK image field how do I get it?
thanks
Comments
I haven't used HeaderImage
I haven't used HeaderImage myself and it seems that there is no Imagefield 6.x version out yet (which you need for HeaderImage). Looks like you will have to wait a while or try to accomplish your goal with Drupal 5.x
Here's how you would add an imagefield in 5.x (the procedure will be the same for 6.x when Imagefield 6.x is released):
First of all you'll need to install CCK itself and Imagefield. Now go to "Administer -> Content management -> Content types" and choose a content type you would like to add an imagefield to. Then click on "Add field" at the top. Enter a name for the field, choose "Image" and click on create. Change some of the settings if you want and click on "Save field settings". Voilá, you have added an imagefield to your content type.
Now, when you're creating content, you will be able to upload an image with that content type.
Hope that helps
Any other way to rotate images on the header?
Thanks for this but I have already Drupal 6.1 installed and built so I would like to find a workaround this until the headerImage module can be used by Drupal 6.x.
I have a PHP code that rotates images on the header on every refresh of the page/site. It points to a file location where the images are stored and picks the images randomly.
I have tried to use this code but did not work. I am not sure how to use a custom PHP code with Drupal. I simply put it into the page template (I know it is not he best way of doing it) just to test it but did not work.
I have tried to create a block and placed to the header but it showed rather the php code, did not execute the code even though I had <?php tags around the code.
What am I doing wrong?
-----------------------------------
I am a newbie, please be gentle with me...
I am not a developer so I need idiots guide sometimes
When creating the block did
When creating the block did you choose "PHP code" as the Input format? For users with the right permissions (you as the admin of the site for example) there is always the option to pick the input format.
Good one
Of course I did not choose the PHP code option as the input format because I, silly me, disabled it with the idea that I would not use PHP code at all and totally forgot about it.
thanks
I am a newbie, please be gentle with me...
I am not a developer so I need idiots guide sometimes