Added image support to the particle generator