4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Releases & Support) => Topic started by: V@no on March 20, 2005, 08:35:35 PM

Title: [MOD] Auto-Thumbnailer v2.3.1 (2008-10-12)
Post by: V@no on March 20, 2005, 08:35:35 PM
This is an improved version of admin/thumbnailer.php file with new features:
- Check thumbnails for remote images (in default version its ignored remote images)
- Create thumbnails from remote images
- Check if thumbnails already existed, but not updated in database (same as "check new images" but for thumbnails)

----------- [ Installation ] ------------

Installation:

- backup admin/thumbnailer.php file
- download attached file (at the bottom of this post)
- unzip it
- upload it into admin/ folder, if asked, replace the old file.



--------- [ Version history ] ---------

v2.3.1 (12-10-08)
- Fixed: v2.3 was broken

v2.3 (12-10-08)
- Fixed: warning messages displayed when used remote images
- Fixed: support for remote images that don't have filename at the end. (i.e. http://example.com/images.php?id=10 )
- Added: links on categories name
- Added: links to the images on results page
- Added: error handling
- Changed: all text moved to $lang


v2.2.1 (08-29-04)
- Fixed a few bugs that applyed to combination of filenames such as 01.jpg and 1.jpg
and for unix system for filenames such as 1.jpg and 1.JPG

v2.2  
- Fixed problem with thumbnails for non-images files (video, audio, etc.)
- Now it "really" works as it planned, it does search for already uploaded thumbnails for "inserted" into database media.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: EESA on April 12, 2005, 03:54:54 PM
Link to the .zip is dead
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: martrix on April 12, 2005, 04:27:34 PM
No it works fine.  8)
Maybe V@no's site was down for a while...
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 02:37:31 PM

Installation:

- backup admin/thumbnailer.php file
- download this (http://gallery.vano.org/file44dl) file
- unzip it
- upload it into admin/ folder, if asked, replace the old file.

First thanks for this MOD ;-)

But i'm having some trouble, it tells me that there are no entries that miss thumbnails, i've just uploaded a couple 100 images :(

I'm only running this MOD, no one ells

Is it because i uploaded the pictures via ftp, and checked for new pictures before running the Auto-Thumbnailer MOD...??

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: IcEcReaM on February 16, 2006, 02:44:26 PM
yes, you're right.

uploading per ftp and then check for new images,
only the images will be imported but no thumbnails created.
This yo have to do with this mod then.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: V@no on February 16, 2006, 03:01:58 PM
Edit an image that does not have a thumbnail and make sure there is no thumbnail filename showed.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 03:04:33 PM
yes, you're right.

This yo have to do with this mod then.

Yep, and that's not working here, i get "No entries found"

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 03:11:04 PM
Edit an image that does not have a thumbnail and make sure there is no thumbnail filename showed.

I did that, but got same result, "No entries found"

And the edit box, Thumbnail told me (No thumbnail found)

I saved changes, and tryed it out, but no luck :(

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: glitzer on February 16, 2006, 03:12:36 PM
did you klick in the categorie you have put insert the images per ftp?
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 03:18:46 PM
did you klick in the categorie you have put insert the images per ftp?

I'm not sure that i understnd your question right ?

I edited an image in a category, that i've just uploaded, and does not have thumbnails, if that's what oyu mean..

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: V@no on February 16, 2006, 03:19:16 PM
And what if you use the default auto thumbnailer, that comes with 4images?
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 03:37:40 PM
And what if you use the default auto thumbnailer, that comes with 4images?

I didn't have set any conversion tool, so i got this message, "Select module to create thumbnail, Check module settings", i then choosed "GD biliothek", and got "error creating thumbnail"

When using the Auto-Thumbnailer v2.2.1 MOD now, i tells me that there are thumbnails, though they're not there in real life, ak on the server, but i tell it to create them, and it respond back "Thumbnail added", but when i go to the dir for the thumbnails, there is not created anyone :(

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 04:50:49 PM
And what if you use the default auto thumbnailer, that comes with 4images?

I didn't have set any conversion tool, so i got this message, "Select module to create thumbnail, Check module settings", i then choosed "GD biliothek", and got "error creating thumbnail"

When using the Auto-Thumbnailer v2.2.1 MOD now, i tells me that there are thumbnails, though they're not there in real life, ak on the server, but i tell it to create them, and it respond back "Thumbnail added", but when i go to the dir for the thumbnails, there is not created anyone :(

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/

Just a question...

Can it be a "safe mode" issue...??

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on February 16, 2006, 08:05:04 PM
Quote

Just a question...

Can it be a "safe mode" issue...??

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Quote

It was a "safe mode" issue, now that "safe mode" is turned of, it works just fine, sorry if i made some's hair grey ;-)

Best Regards
Carsten, Denmark - www.latexshiny.com - NEW site i'm working on - www.latexshiny.com/_4images_/
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: blue22deep on April 10, 2006, 01:28:57 PM
This is an improved version of admin/thumbnailer.php file with new features:
- Check thumbnails for remote images (in default version its ignored remote images)
- Create thumbnails from remote images
- Check if thumbnails already existed, but not updated in database (same as "check new images" but for thumbnails)


Got a wierd problem

I've just imported with Batch-import, allmost 3000 pictures, and now when running thumbnailer, it tells me that there aren't missing any thumbs, though there aren't any on the server :(

Anyone knows what's wrong...??
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: zaisk on April 21, 2006, 11:35:53 AM
I uploaded image into gallery without thumbnail then tried to auto creat thumbnail for it. But everything I got was "No entries found."

Please help.. I very need this mod...


SORRY,.,, My mistake. Just choose GD in settings and everythin works fine. Thanks for this great mod.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: MauiJim on September 19, 2006, 10:10:53 PM
please send me the files
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: V@no on September 20, 2006, 12:51:42 AM
I've attached the file to the first post.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: alekseyn1 on January 18, 2007, 04:13:08 AM
Hi everyone!
How do I make the thumbnailer.php (version 2.2.1) in CP see that the thumbs are missing?
This function does not see that mov,wmv,avi,mpg  files have no thumbs in Database....  I am using this code

http://www.4homepages.de/forum/index.php?topic=12272.15

Please help. I have a ton of videos with no preview that I want to add thumbs to but the thumbnailer does not check mov,wmv,avi,mpg files
Thanks,
Aleksey
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: strokeland on January 24, 2007, 09:08:53 PM
i wanna download,but all links are broken  :cry: :cry:
thats so bad,i really need this mod
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: CeJay on January 24, 2007, 09:51:03 PM
i wanna download,but all links are broken  :cry: :cry:
thats so bad,i really need this mod

Read the first post carefully along with the signature. Here is a hint: 
Quote
My site is down. Files for MODs will be attached to the posts uppon requests.
So, please reply to the MODs topic if you need a file. But before you do that, check if file already attached.
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: son_gokou on February 05, 2007, 02:40:07 AM
This doesn't work for video files right?
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: duongtien on February 14, 2007, 12:42:44 PM
I'm using 1.7.4. I upload thumbnailer.php to Admin but it not work
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: raytaylor on July 16, 2007, 11:19:43 AM
Would anyone know how to get this mod to only check images in a specific category, or with image id's above a certain number.

I have 16,000 images and it takes too long to get down to number 16,000+ when searching for thumbnails as it times out or runs out of memory. I already know that every image below 15,000 has a thumbnail so there is no point in checking these.

Any ideas?
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: jamiefrancis on August 21, 2007, 12:22:36 AM
Hi everyone!
How do I make the thumbnailer.php (version 2.2.1) in CP see that the thumbs are missing?
This function does not see that mov,wmv,avi,mpg  files have no thumbs in Database....  I am using this code

http://www.4homepages.de/forum/index.php?topic=12272.15

Please help. I have a ton of videos with no preview that I want to add thumbs to but the thumbnailer does not check mov,wmv,avi,mpg files
Thanks,
Aleksey

Hi guys,

i have the same problem, can somebody help me please thanks:)
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: son_gokou on August 21, 2007, 12:52:21 AM
See the topic http://www.4homepages.de/forum/index.php?topic=12272.0
Title: Re: [MOD] Auto-Thumbnailer v2.2.1
Post by: ghostmi on May 26, 2008, 11:30:51 PM
Hi everyone!
How do I make the thumbnailer.php (version 2.2.1) in CP see that the thumbs are missing?
This function does not see that mov,wmv,avi,mpg  files have no thumbs in Database....  I am using this code

http://www.4homepages.de/forum/index.php?topic=12272.15

Please help. I have a ton of videos with no preview that I want to add thumbs to but the thumbnailer does not check mov,wmv,avi,mpg files
Thanks,
Aleksey

Hi guys,

i have the same problem, can somebody help me please thanks:)

idem...  :(

exists a Time out that it can be lengthened?

this is the message of the server

Quote

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, postmaster@xxx.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.
Title: Re: [MOD] Auto-Thumbnailer v2.3
Post by: V@no on October 12, 2008, 09:35:56 AM
Hi everyone!
How do I make the thumbnailer.php (version 2.2.1) in CP see that the thumbs are missing?
This function does not see that mov,wmv,avi,mpg  files have no thumbs in Database....  I am using this code

http://www.4homepages.de/forum/index.php?topic=12272.15

Please help. I have a ton of videos with no preview that I want to add thumbs to but the thumbnailer does not check mov,wmv,avi,mpg files
Thanks,
Aleksey
Unless someone post it as complete mod, I see no point add support for it...sorry.




Changes in v2.3:
Quote
- Fixed: warning messages displayed when used remote images
- Fixed: support for remote images that don't have filename at the end. (i.e. http://example.com/images.php?id=10 )
- Added: links on categories name
- Added: links to the images on results page
- Added: error handling
- Changed: all text moved to $lang
Title: Re: [MOD] Auto-Thumbnailer v2.3
Post by: Sunny C. on October 12, 2008, 01:25:27 PM
NICE!" Thanks!
Title: Re: [MOD] Auto-Thumbnailer v2.3
Post by: budduke on October 13, 2008, 12:38:02 AM
I finally had time to try the 2.3 out on my test site and it does not work...
If I use this version (2.3) it says No entries found.
If I replace it with the original one that came with 1.7.6, it sees the missing thumbnails and creates them just fine.

I use the add image area in the acp to upload my pics without any thumbnail files and then use the thumbnailer to create them.

Any ideas? :?:
Title: Re: [MOD] Auto-Thumbnailer v2.3
Post by: Sunny C. on October 13, 2008, 12:40:51 AM
yes i have that problem too
Title: Re: [MOD] Auto-Thumbnailer v2.3
Post by: V@no on October 13, 2008, 02:51:59 AM
ops...I forgot remove my "test" code...it was checking thumbnails for one image only.
v2.3.1 should work.

P.S.
note, the new error handling might show warning messages when processing non-image files, don't worry about that, its expected.
Title: Re: [MOD] Auto-Thumbnailer v2.3.1 (2008-10-12)
Post by: budduke on October 14, 2008, 12:56:10 AM
Yahoo!
It works great now, Thanks again V@no!
Title: i have an error in thumbnailer.php
Post by: nameless on February 05, 2010, 01:26:02 AM
i'm using mod thumbnailer v2.3.1
but i have this error

Warning: set_time_limit() [function.set-time-limit]: Cannot set time limit in safe mode in /home/XXXXX/public_html/XXXX/admin/thumbnailer.php on line 37

Errors log
WARNING: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/XXXX/admin/thumbnailer.php:37) (file: /home/XXXXX/public_html/XXXX/admin/admin_functions.php: line: 168)
WARNING: Cannot modify header information - headers already sent by (output started at /home/XXXXX/public_html/XXXX/admin/thumbnailer.php:37) (file: /home/XXXXX/public_html/XXXX/admin/admin_functions.php: line: 169)


Title: Re: [MOD] Auto-Thumbnailer v2.3.1 (2008-10-12)
Post by: surferboy on April 23, 2010, 09:56:04 AM
Hi -

Using v1.7.7 and uploaded and overwrote admin/thumbnailer with version 2.3.1.

Uploaded the MOD and imported an image from a remote url. The image added to the database but I kind of expected the autothumbnailer to autocreate a thumbnail with upload. It did not.

So I have two questions:

1. Is the Auto-Thumbnailer supposed to create thumbnails on the fly, for a single upload? Or does it only work from the ACP as a more robust thumbnail creator?

2. After I processed my remote url pic from the acp using the thumbnailer, I was disappointed to see that the Thumbnail Tooltip (topic 22030.0) does not work on the thumbnails created by the Auto Thumbnailer.  Does anyone know why this is? Can I rename the files to make the Tooltip work and show the preview?

I'll post this on the Tooltip topic too.

Thanks,

Brian