Hi everyone,
I would like to let the user provide an image url, but before pushing it into the database, i want to make sure the url is actually an image, if it is not, then i just skip the image url field.
i would like to know a way to verify if the url provided leads to an image, client and more importantly server side ; I already use a regular expression as a first filter, but i would like to go further.
Thanks.