added ability to be able to pass in arrays of image paths with a built in ajax request/handler