main image inlined