AnsweredAssumed Answered

run linux system command from rule

Question asked by stegbth on Nov 18, 2015
Latest reply on Nov 19, 2015 by stegbth
Hi,

when a user uploads a jpeg, this should get resized to 1024x768 to save space.
On the fileserver this was done with imagemagick, like "find pictures/ -type -f -iname '*.jpg' -exec mogrify -verbose -resize 1024x768 {} \;

What's is the simpliest way to resize the picture within alfresco Share?
I found in alfresco "data Dictonary/scripts" i can locate JavaScript Scripts, but as far as i understand there i cant run a systemcommand?

Or how should this js look like?

best regards
Thomas

Outcomes