Refactors image getting methods to use NSString instead