Using page uri when checking images path