another try at getting inlined images to work