Added image url check