4images Forum & Community
4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Plugins => Topic started by: V@no on March 15, 2005, 08:00:45 AM
-
Ones I was browsing my site and all of the sudden I discovered that some images and thumbnails were missing (it showed 404.gif and red cross where thumbnails where missing). To check if image file missing is easy - just go to "Edit images" and it shows " ! " if it missing, but with thumbnail files u have to edit the image to find it out - that would take forever editing 3000+ images.
I desided just write something that will find the broken images automaticaly
------[ Overview ]------------------
This plugin could save lots of time if u need check/find missing/broken files/thumbnails
------[ How does it work ]---------
It scans files from all/selected categories and check if they are actual exist on the server
------[ Installation ]----------------
1. Create admin/plugins/ folder
2. Download files_check_XX.zip from the attachment (#post_attachment) at the bottom of this post
3. Extract it and upload in admin/plugins/
------ [ How to use ] ----------------
Login to your 4images Admin Control Panel
On left side u should see new link Files Check
Scanning:
(http://img212.exs.cx/img212/1476/scan0as.png)
Error Report:
(http://img212.exs.cx/img212/1460/scanf7hh.png)
------ [ Version history ] -----------
v1.2 (2009-03-29)
- Fixed: possible problem on some servers related to incorrect ROOT_PATH
- Added: "include sub-categories" option
- Added: "check thumbnails" option
v1.1
- Added batch delete option
v1
- First release
-
Thank you V@no for this great tool.
It works absolutely perfectly and is very efficient.
-
Hi V@no,
is it possible to check the images in the "big"-folder?
Matthias
-
the javascript redirect doesn't work in my Netscape 7.1
the redirect url look like this
files_check.php?action=checkimages&imchkstart=50&imchksize=50&autoredirect=1&local=1&cat=0
-
Is it possible to choose a folder and it's subfolders ? Or is only possible in the two ways to check the whole gallery or each folder in a single way ?
-
Or is only possible in the two ways to check the whole gallery or each folder in a single way ?
Thats it... (o:
-
Hi V@no,
is an extension possible to check the images in the "big"-folder?
Matthias
-
Hello V@no,
excellent, thanks! :P
-
Can I use this Plugin with 4images 1.7.2 ?
-
probably
-
Sweeeeeet!
Very nice done!
Keep up the good work!
-
how about checking the download link?
-
I have about 4000! broken thumbnails according to this tool and it is accurate. I have about 12,000 images. I can't use the delete option :( is there a way to forcibly set that the items have no thumbnail and run the thumbnail tool again ?
Thanks.
-
There is a mod "rebuild thumbnails", it might help you.
-
Hey V@no!
can u please post the file? Thx!
-
hi
where can i find the file?
i didn't see it as attachement...
thanks a lot
pat
-
... I updated the first post and the attachment ... ;)
-
... I updated the first post and the attachment ... ;)
Great :!:
many thanks
pat
-
awesome work buddy
-
Great plugin but i have problem!
Is it possible to turn off thumbnail checking!
Thanks!
-
First, I'll say thank you for this plugin. It has been a lifesaver for me. As usual, V@no has a better solution to my dilemmas than I could have dreamed up. :D
I, too, would love to have the option to check sub folders. I have a gallery over 12,000 subcategories with less than 30 main categories and over 400,000 files. It takes a long time to run check files on the entire gallery but is even worse if I run folder by folder because there is not sub folder option. It would be fantastic if I could select X category and have it check the sub folders just like the improved check new images.
-
@dbranko
@amboutwe:
Your feature requests added in v1.2.
changes since v1.1:
- Fixed: possible problem on some servers related to incorrect ROOT_PATH
- Added: "include sub-categories" option
- Added: "check thumbnails" option
-
Your feature requests added in v1.2.
Wow. I didn't expect an answer, let alone an update, this quickly. Thank you so much. You made my day! :D
-
1.7.7 is working.
-
@V@no
Is it possible to disable the check thumbnail where the script looks for missing thumbnails and keep the remaining features.... which line should i comment out?
Thanks :D
ok, I guess i have solved it myself ;)
Code
if ($ok || $ok_t) {
$log .= $row['image_id'].",".$ok.",".$ok_t.",".$where.",".$where_t.";";
}
changed to
if ($ok) {
$log .= $row['image_id'].",".$ok.",".$ok_t.",".$where.",".$where_t.";";
}
-
Hello,
thank you v@no for this excellent plugin!
I've a lot of 4images sites with using big-folder and som use MOD histogram.
I'd like to have some plugin-functions to manage this files:
- check for files in $big-folder, if there files without having image-file, it would be nice to delete, but sensitive by extension (usualy i use flv as image-File and in big-dir mp4)
- check for files in $histo-folder, if there files without having image-file, it would be nice to delete
and i need also:
- delete all big-files in selected category
- delete all histogramm.files in selected category (i use "define('HISTO_PATH', ROOT_PATH.HISTO_DIR);" in global.php)
May it is possible to include the first to into files_check.php as well?
I think, the second two easier have an own plugin-file or may include in categories.php like my own modifications:
(http://www.4homepages.de/forum/index.php?action=dlattach;topic=6760.0;attach=6136)
Thanks & Regards
Henry