remove nslog and add get media url when resized url is null