PHP auto image packager tool