I would like to find all the unused images in the images directory on my sit
e and delete them. Is there an automated way to do this in dreamweaver?
Many thanks.
Sam
Re: how to find and delete all unused images in site?
Chris In
Madison
  08-31-04 - 04:15 AM
If you've got the site set up in your site definitions, choose Site > Check
Links Sitewide. In the Results inspector, there is a dropdown entitled
"Show:". Select "Orphaned Files". It will show you all the images and
other files that don't link to anything.
If it's not in your site definitions, create a site definition, GET the
entire site from the server, then do the above.
Best regards,
Chris
Re: how to find and delete all unused images in site?
/_\\/-
  08-31-04 - 05:16 PM
However, if you use the images in javascript, asp, or etc. then the Check
Links Sitewide won't pick up on those and you may end up deleting files that
are really needed.
"Chris In Madison" <cowens@cnwGOAWAYDIRTYRATSPAMMERS.com> wrote in message
news:ch0558$pun$1@forums.macromedia.com...
> If you've got the site set up in your site definitions, choose Site >
Check
> Links Sitewide. In the Results inspector, there is a dropdown entitled
> "Show:". Select "Orphaned Files". It will show you all the images and
> other files that don't link to anything.
>
> If it's not in your site definitions, create a site definition, GET the
> entire site from the server, then do the above.
>
> Best regards,
> Chris
>
>
Re: how to find and delete all unused images in site?
Chris In
Madison
  09-01-04 - 12:15 AM
Good point. That being the case, I would never rely on a tool that would
automatically delete files on me. I would do the checks, analyze the
results, and determine what to delete manually. Most of the time, you'll
remember if you used an image or script when you see the name.
Best regards,
Chris