Fixed gallery functionality and new capture uploads work as well