locked
Thumbnail Generation - Please Help RRS feed

  • Question

  • User1200560928 posted

     I am working on a website which has a media gallery in it. Once the photo or video is uploaded, the application generate a thumbnail. I got all this done. The problem i am facing is when a vertical (portrait) image is uploaded, the thumbnail does not maintain the photo's perspective, it shrinks the image to fit the square thumbnail size, this makes the thumbnail look blurred. If a vertical (portrait) image is uploaded, the thumbnail should have a black space on the left and right side (to maintain its dimension) - please help me achieve this.

    In short need a thumbnail generator like flickr - please send me script or tutorial for it.

    Thanks.

    Tuesday, July 29, 2008 2:49 PM

Answers

  • User-125547262 posted

     see if this tutorial helps

    http://dotnetslackers.com/articles/aspnet/Generating-Image-Thumbnails-in-ASP-NET.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 29, 2008 3:23 PM

All replies

  • User-125547262 posted

     see if this tutorial helps

    http://dotnetslackers.com/articles/aspnet/Generating-Image-Thumbnails-in-ASP-NET.aspx

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, July 29, 2008 3:23 PM
  • User1200560928 posted

     Thanks a lot - the link helps.

    Tuesday, July 29, 2008 3:27 PM