Styling an image within a View
timhobert - April 1, 2009 - 08:23
How would I set a max height of 150px and max width of 150px to an image in a table created by Views?
View the table here: http://www.kewlege.com/node/85/backlinks
Thanks for any help you can provide.

CSS
You can hard-code it in CSS
like:
.imagecache-backlinks-view {
//your css here
}
Just figured it out!
I just figure it out with a hint from another post: http://drupal.org/node/220538
Just in case anyone else has a similar question, here's what I did to resize the images on the table:
I installed the imagecache module
I made sure the imagecache module was enabled
I went to added a new imagecache preset at this screen: admin/build/imagecache/add
Then I clicked "Add Resize" and then set it to 50%, 50%
I went back and edited my View
Within the Fields area, I clicked on my image
I set the Format to "myPresetName-view image linked to node"
I saved the View and that's it!