Fixed a bug where the loading image is removed...

... early

- An alert will be used temporarily to notify when there are no images
in the gallery