Fix gallery export (vB)