Create Custom List View with scaled down image reduced text

I have a list that I am populating with stories about our employees, along with their picture and I am trying to create a custom 'news feed' view that shows only the employees name, a scaled down version of the attached image, and then only the first two lines of the story.

I am having problems with how to get the image to scale down in the 'news feed' view as well as how to only show the first two lines of the content.

Many thanks!!
tgranboisAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Ted BouskillSenior Software DeveloperCommented:
You'll have to do it by customizing the XSLT for the web part.
0
tgranboisAuthor Commented:
Thanks for that! I was hoping to not have to convert to xslt, but it looks like that's what I'll have to do. I know that I can simply the scale the image, but I would like it to scale down 80 vertical pixels, and maintain the horizontal proportions. Any suggestions on how I might code that?

Also, in my 'story' text field I would like it to just show two lines of the story... any suggestions?
0
Ted BouskillSenior Software DeveloperCommented:
There are some decent CSS tricks you can find on the web for doing it.  Without writing code you can't scale it to fix in a square and maintain the aspect ratio.  You either have to set a max height or width if you want to avoid distortion.

Also, you can search the web for tricks with XSLT to truncate text with ellipses.  I found a couple examples the last time I did it.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.