Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Jul 15, 2011 @ 19:20
    Bjarne Fyrstenborg
    0

    Image Resizer project

    Hi..

    I have used the Image Resizer package to resize images http://our.umbraco.org/projects/developer-tools/image-resizer... I actually don't need to crop images, but I would like to resize images to a fixed width.

    With the Image Resizer package it works well, when I upload an image in landscape format to get a fixed width in e.g. 250px.
    But when the image is in portrait format, it's scaled after the height. If all images have the same size I could set the height, so it match the 250px in width.

    The problem is when the height is dynamic, and I upload images in portrait format, it won't always match 250px in width.

    Is there a way to solve it? It would be nice if the image always could be scaled after width or height nomatter which format the image has.

    Bjarne

  • Rich Green 2246 posts 4008 karma points
    Jul 15, 2011 @ 23:06
    Rich Green
    0

    If you haven't already done so you should take a look at http://our.umbraco.org/projects/website-utilities/imagegen it has the functionality you need.

    Rich

     

     

     

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Jul 15, 2011 @ 23:48
    Bjarne Fyrstenborg
    0

    Hi Rich

    Yes, I have tried with Imagegen, but with the Basic version, it doesn't have the right click to save the image. And Imagegen resizes the images on the fly, where I want the cropped image to save.

    The Image Resizer package is a bit like the standard upload control in Umbraco creates thumbnails, it resizes from the highest value either from width or height..
    I would like to have the oppertunity to keep the width or height fixed.
    The only solution I can see to it as the package is now, is that the images I upload in portrait format must be proportinal similar to get width of resized images in 250px.

    Bjarne

  • Bjarne Fyrstenborg 1282 posts 3994 karma points MVP 8x c-trib
    Jul 15, 2011 @ 23:57
    Bjarne Fyrstenborg
    0

    I have on some pages a image below the navigation, where the image must be 250px in width and the height may be variable.

Please Sign in or register to post replies

Write your reply to:

Draft