Closed (fixed)
Project:
Taxonomy Image
Version:
5.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
10 Nov 2007 at 15:45 UTC
Updated:
19 Feb 2008 at 22:44 UTC
I have been working to get other modules to include support for TI. The latest is the FAQ module.
However, this new usage produces lists and because the image sizes may not all be the same width, those lists can look ragged. To fix this, I coded up this little patch to add a wrapper <div> around the image. There is also a new setting to turn it on, so no one will have a broken implementation.
This allowed me to do this with my CSS:
.faq .taxonomy_image_wrapper {
float: left;
width: 70px;
margin-bottom: 0.5em;
padding: 0px 0px 0px 0px;
}
img.faq_tax_image {
padding: 0px 0px 0px 0px;
}
So now everything lines up correctly.
This would also allow other little things, like putting a fancy border around it, or add a background color or frame.
| Comment | File | Size | Author |
|---|---|---|---|
| tximg_wrapper.txt | 1.85 KB | nancydru |
Comments
Comment #1
nancydruComment #2
brewreview.info commentedThanks for posting this -- works great!
This was exactly what I was looking for, to display my multiple taxonomy_images per node neat and orderly.
Cheers,
//TB
Comment #3
nancydrufix committed.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.