create image thumbnails when document seving for MODX REVOLUTION