Only render images in text sections if they exist