1 Reply Latest reply on Jan 11, 2016 5:17 PM by mardikennedy

    GetThumbnail and downsizing images

    AndrewJudd

      Hi all,

       

      I have a modify trigger script on a global container (see attached) that uses get thumbnail to downsize images when they are added by a user.

       

      It works fine when an image that is added is over the maximum width and height in pixel length.

       

      However if - for example - an image is very wide but not very high the script will not run and the image does not get downsized and an image can stay at several MB's - not ideal for keeping things in check.

       

      Is there another way to approach this?

       

      I have the max fields set around 1500-1800 to be reasonable and keep images well below 1mb.

       

      Thanks

       

      Screen Shot 2016-01-08 at 22.48.54.png