CLEANUP的最佳方式(删除)我的网站上没有使用的图像? [英] Best way to CLEANUP (delete) Images not being used on my site ?

查看:61
本文介绍了CLEANUP的最佳方式(删除)我的网站上没有使用的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的网站已经投入生产了几年。事情发生了变化,我在删除文件夹中的图像方面表现不佳。我现在有几百个图像分布在5-6个文件夹中 - 每个文件夹中仍有一些仍在使用。我为文件运行了REPORTS,发现大多数图片的LINKS都是"0"   ... 但是"0"表示"0"。也适用于正在使用的图像文件。所以也许我误解了"0"的含义。意思是。
什么是最好/最简单的扫描和扫描方法。删除我不再使用的图片? (一旦我这样做,我会在添加/删除文件时整合并更好地管理。)

感谢

My web site has been in production for a couple of years. I haven't done a great job at deleting images in folders as things have changed. I now have a couple of hundred images spread out over 5-6 folders - some in each folder still being used. I've run the REPORTS for files and see that the LINKS for most images is "0"  ...  but the "0" is also on image files that are in use. So maybe I'm misinterpreting what the "0" means.

What's the best/easiest method to scan & delete images that I'm no longer using? (Once I do that, I'll consolidate and better manage when I add/remove files.)

Thanks

推荐答案

您正在使用  问题>未链接的文件报告,对吗?当没有直接或间接路径时,文件被视为未链接–使用静态HTML链接–从网站的主页到该文件构建。

这意味着在JavaScript或PHP代码中仅使用的图像文件始终被视为未链接,但您不想删除它们。还要确保已定义主页,通常名为index.html或Default.aspx。主页与其他页面的区别在于文件夹列表和站点视图中的房屋符号。

You are using the Problems > Unlinked Files report, right? A file is considered unlinked when there is no direct or indirect path – built with static HTML links – from the homepage of the website to that file.

This means that image file used only in JavaScript or PHP code are always considered unlinked, although you will not want to delete them. Also make sure that you have defined a homepage, typically named index.html or Default.aspx. The homepage is distinguished from other pages by a house symbol in Folder List und Site View.


这篇关于CLEANUP的最佳方式(删除)我的网站上没有使用的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆