adding arrays for image files