fix scale typooo
build file listing for gallery