delete is_image(), add log for url