Membership is FREE, giving all registered users unlimited access to every Acorn Domains feature, resource, and tool! Optional membership upgrades unlock exclusive benefits like profile signatures with links, banner placements, appearances in the weekly newsletter, and much more - customized to your membership level!

Finding all locations of an image on a website?

Status
Not open for further replies.

wb

Joined
Mar 1, 2009
Posts
2,061
Reaction score
56
Is it possible to find all instances of an image on a website? A client has a large website with thousands of pages - an unknown amount of which contain a certain image (e.g. /images/example.jpg).

The image is a blank one which they inserted when writing articles which just states "Insert Photo Here" as a reminder - as this was done a while ago they now are unsure which pages this was used on and therefore which pages need to have their images updated.

It will take too long to look over all pages manually, so is there a website or tool which can scan all the pages on the server to find where these images are located?

Cheers
 
The easiest way would be to download the whole website onto your pc and download wingrep from wingrep.com which lets you search folders and subfolders for a string - the filename. So you'd tell it to start at the web root of the downloaded site's file structure

Another way would be to write or download a simple search engine script and let it crawl the site. Then search for the filename among the pages in the index.

Another way is to write a script to analyse the server logs for a period as each time the image is displayed it would be recorded in the logs and there would be a page request log entry just before the image request which would have the same ip address. But that would only yield pages which have been visited in that period.
 
Last edited:
If the site is well indexed by Google then use the following search:-

site:site.com nameofjpeg

In other words, if the site is at example.com and the graphic is called filler.jpg then you would search:-

site:example.com filler.jpg

That will return only the pages from "example.com" (that Google knows about) which have filler.jpg on them.
 
If you have shell on the server use grep.
Or if its using a CMS you may be able to use a sql command.
 
If the site is well indexed by Google then use the following search:-

site:site.com nameofjpeg

In other words, if the site is at example.com and the graphic is called filler.jpg then you would search:-

site:example.com filler.jpg

That will return only the pages from "example.com" (that Google knows about) which have filler.jpg on them.
You can also just search "site:domain.co.uk" in google images and it will bring up any images that are indexed.
 
Status
Not open for further replies.

The Rule #1

Do not insult any other member. Be polite and do business. Thank you!

Premium Members

Latest Comments

New Threads

Domain Forum Friends

Our Mods' Businesses

*the exceptional businesses of our esteemed moderators
General chit-chat
Help Users
  • No one is chatting at the moment.
      There are no messages in the current room.
      Top Bottom