Fixes #4696 - Add JSON gallery view