img not loaded when no trailing slash resolved