Added gallery weight feature