Hi, can anyone give my any tips and/or suggestions on how I should go on about theming with CSS elements images
generated by the image module? That is for both cases in which the image is a thumbnail and a preview. Even though I'm
mostly interested in the thumbnail at the moment and thats because both thumb and preview formats use the same template
(image.tpl.php) which I've created. I'll need to do something about this as well.

At the moment I've created an image.tpl.php template that I use when the node to be displayed is an image.
I currently am wrapping Only local images are allowed. tag into a style

tag but what I keep on getting in the Only local images are allowed. tag is a class attribute
class= "image thumbnail" for thumbnails and class="preview" for previews.
I cant find this CSS definition in any imported CSS file, included the image.css that comes with the image module.

--------------
| Title
|
| IMG
|
| body
|
--------------

But what I would really like is (hope that will be clear):

--------------
| IMG Title |
| |
| body |
| |
--------------

As in, I dont want the texts to wrap around on new lines after and before the image.
This is mainly because the rendering of the image comes as an img tag directly followed by a paragraph(p) tag where
the body(description) is displayed.

Does anyone have any suggestions?

Comments

AntiNSA’s picture

Two years later Id like to wrap body around an image .... using image field... anyone? Or even wrap it around the inline image wfrom image attachment