overhaul image support
add documentation for image support