ADDED: target_has_image/1
FIXED: remove debug-only code
ADDED: use image_annotation hooks to recreate original dashboard functionality