404 error on gallery files fixed