process options with images properly