Multiple images functionality added