resize picture server side for the flash app