Media plugin now loops url and filename