This is a very nice module that could really rock if the images and/or the block could be themed in some ways.

Would it be possible to theme the output with .css in order (for example) to:

- add background color to the block
- space images
- add a frame or a background to images
- allign images in a grid
- ...

Any feedback apreciated!

Thank you lot

CommentFileSizeAuthor
#2 README_4.txt1.26 KBmarcoBauli

Comments

budda’s picture

Status: Active » Closed (works as designed)

The module provides two theme functions which you can replace using PHPTemplate.

They are:

"theme_nodeimageblock_block" which is the container all the node images are placed in.
"theme_nodeimageblock_block_item" which is repeated per image inside the container block.

Blocks can be styled using CSS. Check the output HTML on your Drupal site to determine what CSS classes/selectors to style.

marcoBauli’s picture

Title: Adding themability » Adding themability [README.TXT]
Component: Code » Documentation
Status: Closed (works as designed) » Needs review
StatusFileSize
new1.26 KB

thanks for quick help Budda, i will try that out.

I just added your explanation to the README.TXT (attached here) in case this could be usefull for others.

cheers

budda’s picture

Thanks for the updated readme.txt text, however the themeing of modules is pretty much standard across the board -- so no point in putting instructions in to each module about it.

marcoBauli’s picture

Status: Needs review » Closed (fixed)