component for create images thumbs then resource saving for MODX REVOLUTION