Fix image placeholder function