Mac OS X 10.4.10
Drupal 6.0b2

I am not an expert by any means (you guys astound me), but I have managed to get Drupal 6 up and running, even getting clean URLs to work - no mean feat, for me anyway.

I see that Views and the Image module don't yet exist for 6.0b2 and that people are working on a cleaner solution for 6.0, but I need to do something that I think should be exceedingly simple: put an image on the top of content on the front page.

If I link to the external file in a post, I get the title and comments - which I don't want.

If I create a block with the image, it inherits block CSS theming I'm doing for use in the sidebars (including an unwanted graphic) and the block will also appear below the other front page content.

I should note that I'm using teaser image resize from here, which is working nicely in the absence of anything else.

If there's a working solution for Images and Views I don't know about for 6.0b2, that would be insanely helpful. Is there any way to do this? Thank you.

sleepless in NYC

Comments

joachim’s picture

You can override the CSS for generic blocks for that one particular block. Each block gets an ID that you can use to style that block alone.
Alternatively, you can create a page template for just the front page and fit the image into that -- though this means you then have to maintain two page templates if you want to further develop your theme.

I'm interested by potential cleaner solutions for 6.0 for images and views... got a link to more details about this?

bcobin’s picture

If you're looking for cleaner solutions for 6.0, don't look here! I'm basically hacking code form the Pushbutton theme; I'm not a qualified CSS programmer. (The id that's generated is "block-block-2," in case you want to help!)

In any event, that would still leave the problem of the block appearing below the other front page content, so it's not a real solution - although I certainly appreciate the response - thank you!

Who would have thought it would be so difficult just to put an image on a page? I'm afraid to try using 5.x modules with 6.0 - this is a real stumper.

bcobin’s picture

If you're looking for cleaner solutions for 6.0, don't look here! I'm basically hacking code form the Pushbutton theme; I'm not a qualified CSS programmer. (The id that's generated is "block-block-2," in case you want to help!)

In any event, that would still leave the problem of the block appearing below the other front page content, so it's not a real solution - although I certainly appreciate the response - thank you!

Who would have thought it would be so difficult just to put an image on a page? I'm afraid to try using 5.x modules with 6.0 - this is a real stumper.