Abstracted image manager logic
Fixed double save issue.