change ogdata handling

when an image is not available, or there are multiple images in the
object array