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!!
Who is Participating?
Ted BouskillConnect With a Mentor Senior 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.
Ted BouskillSenior Software DeveloperCommented:
You'll have to do it by customizing the XSLT for the web part.
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?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.