Refactor with fragments: Restore Gallery image layout (in progress).
Replace ImageLoader implementation with new MediaLoader.