checking photo link size