Alignment of image in teasers
TheoRichel - September 17, 2007 - 14:15
| Project: | Teaser Images |
| Version: | 5.x-1.x-dev |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi, I have got your module working, at least partially, there is a teaser-thumbnail generated, it shows up in the teaser and enlarges itself in the node itself, but I cannot get the teaser image to align in the teaser, the image just stays on top of the text of the teaser and that doesnt make it pretty. I am working with both the Image Module as with IMCE. Do I do something wrong? Is there a workaround?
Thanks
Theo Richel

#1
Well I found out that in Phpmyadmin it is possible to edit the teaser in the Mysql code rather easily. It is not a very pretty solution, but it works.
#2
Image, which generated by this module and shows in teaser have a class "thumbnail". So in your theme css you can make style for them.
For example this style will align images in teaser to right side and make a thin border around:
img.thumbnail {float: right;
border: 1px #E5ECF5 solid;
padding: 4px;
}