web: update gen_gallery.py, use os.path.splitext() to remove suffix
web: update gen_gallery.py, use os.path.splitext() to remove suffix

BubuLK/sfepy,vlukes/sfepy,BubuLK/sfepy,rc/sfepy,rc/sfepy,sfepy/sfepy,vlukes/sfepy,sfepy/sfepy,sfepy/sfepy,rc/sfepy,BubuLK/sfepy,vlukes/sfepy