Adds image gallery popups via magific popup