image formatting (size, color) now handled correctly