added kaminari and delete method for images