Gallery resize fix, archive import fix