AnsweredAssumed Answered

overwrite files with scripts

Question asked by bplatt on Aug 1, 2008
Latest reply on Aug 13, 2008 by jbarmash
I need to resize, adjust and overwrite uploaded photos. 

I cannot find documentation on how to save the image back over itself.

I have so far

var newImage = document.transformImage("image/jpeg","-normalize -resize 1024x768",  document.parent);

This gives me an error about the file existing.

Outcomes