Hi, this is my first question in the Drupal forum so please be gentle. :-) I've installed the B7 theme and am trying to learn how I can:

a) display a specific image in a block, and
b) edit any attributes controlling the appearance of said block.

This is for a kids bowling league, my goal is to display a picture of the winning boy and girl bowlers every month. Using the normal "Image" module seems to be okay, I have the "Latest Image" block is enabled. My challenges:

The block title is listed as "Latest image" and I can't find a place where I can change that. The B7 theme doesn't have a block.tpl.php file, I (literally) could find no other item in the theme or "/engines/phptemplate" folders that would allow me to change this block title. Also, the image width (while displayed in the sidebar block) seems overly constrained. But I'm unable to find a single reference in the two .css files within the B7 theme that matches the div class indicated in the source output ("block block-image").

I'm new to Drupal, not new to web design but also not an expert. Can someone point me in the right direction?I've tried searching through the Drupal site but haven't found anything applicable (yet).

Comments

desm0n’s picture

OK assuming your after a specific image each month, that was posted say to your gallery this is very simple.

Just create a custom vlock with some html code with an img html tag. Something like

<img src="http://image-url-on-my-site" width="my width" height="my height">

Obviously replacing http://image-url-on-my-site, my width and my height to what ever you need.

This gives you the flexability you desire easily without the constraints of a hard coded block.

It will also allow you to set a title with ease.

If you wish to do it the dynamic way i'm sure there is code in the php snippets section somewhere to display the last picture in galleries in a DIV (i just couldn't seem to find it) which would achieve the same thing with a custom block.

Anonymous’s picture

desm0n, thanks for your guidance. I appreciate the time you took to help me and I'll try this out later today.

Anonymous’s picture

Thanks again, desm0n... it worked perfectly!