displaying url for vedio and pdf since we have imported data. 
for recommendation only consider photos