Added method to set placeholder image directly.