Hi I was wondering if I could use this to to create thumbnails for uploading along with the original image. I want both files in other words.. I would also like the system to be able to work with a fixed dimension.. That is if the original image is landscape then make a 160 px wide thumbnail. If the pic is Portrait make a 160px high thumbnail...
I need to automate the process for this site....
http://www.wheresharro.com
What happens to Original FileRe: What happens to Original FileYes, you can, see the following tutorial:
http://www.jfileupload.com/products/jim ... nails.html Re: What happens to Original FileThanks for that reply I understand a bit more now...One question remains unanswered that is the ability to detect portrait or landscape input and choose an appropriate scaling based on the aspect ratio.
Thanks again we have been using the upload tool at the Uni where I work and it's such a great solution keep it up ! Re: What happens to Original FileYou need to use:
- landscape.maxwidth - landscape.maxheight - portrait.maxwidth - portrait.maxheight Instead of: - maxwidth - maxheight in your scaling.properties file. Notice that scaleoption could also help: If scaleoption=allowmagnify and image dimensions < maxwidth, maxheight then image will be magnified. If scaleoption=fitaspectratio then scaled image dimension will fit exactly to maxwidthxmaxheight so aspect ratio might be modified. See at: http://www.jfileupload.com/products/jim ... ation.html |