This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > August 2004 > how to find and delete all unused images in site?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author how to find and delete all unused images in site?
sammas

2004-08-30, 11:15 pm

I would like to find all the unused images in the images directory on my site and delete them. Is there an automated way to do this in dreamweaver?

Many thanks.

Sam
Chris In Madison

2004-08-30, 11:15 pm

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


/_\\/-

2004-08-31, 12: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
>
>



Chris In Madison

2004-08-31, 7:15 pm

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


Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews