[Gallery]- Bug 901410 - Fix of setting img src as null triggers error r=...

...davidflanagan

Pull request to fix invalid message dialog over the picture frame, when a file received via Bluetooth or email is opened using gallery app.