file names for the gallery are written explicitely, because in production mode the directory containing the photos can not be listed
further garbage is removed