Imagine if you have image url which is existing within a site collection in Sitecollectionimages
library: testserver/Sitecollectionimages/image.jpg
How can I get the TemplateType (which kind of library is this for e.g. Type 109
is for Picture Library) of this library using the image url?
Update: I will always have an absolute URL of the image.