Bug 879299: Move photo release to imgLoader