new image struct is defined; load images method updated for single image case