Revert "Added functionality to set image src at runtime without setting it in XML."

This reverts commit 104d0534d6793a39eb4312f32e8e0ac40735d910.