No Thumbnail (66)

1 Name: Anonymous : 2006-02-18 13:43 ID:c2u7scdC [Del]

I have everything running but I am not getting thumbnails. Just the "No Thumbnail" box. Using Kareha and imagemagick, static version, on windowsXP. I tried with just the 'convert' and the full path name to convert.exe (C:\Program Files\ImageMagick-6.2.6-Q16\convert.exe) in the COMMAND_CONVERT line. What am I missing?

2 Name: !WAHa.06x36 : 2006-02-18 13:52 ID:Heaven [Del]

Apache or IIS? I remember that at least IIS might need some trickery before it will allow scripts to run external commands... I forget what exactly was involved, though.

3 Name: Anonymous : 2006-02-18 13:55 ID:c2u7scdC [Del]

I am using Apache2.

4 Name: !WAHa.06x36 : 2006-02-18 13:59 ID:xpsGv4Vr [Del]

One thing comes to mind: Backslash is a special character in Perl strings. Does 'C:\\Program Files\\ImageMagick-6.2.6-Q16\\convert.exe' work any better?

5 Name: Anonymous : 2006-02-18 14:06 ID:c2u7scdC [Del]

No change. Could it be the space in the path name?

6 Name: Anonymous : 2006-02-18 14:22 ID:c2u7scdC [Del]

nevermind about the space. reintsalled to a new location without one and still no change.

7 Name: Anonymous : 2006-02-22 09:08 ID:2Spp/nJn [Del]

I have a similar problem on windows using IIS6. No thumbnails. If I give IUSR permission to cmd.exe it throws an error: "The specified CGI application misbehaved by not returning a complete set of HTTP headers." (thats all it said)

replacing COMMAND_CONVERT with the path didn't seem to change anything

8 Name: Joe : 2006-04-23 03:45 ID:/xBWJnga [Del]

I have the same exact problem as >>1
If anyone makes a breakthrough I will love you forever :O

9 Name: WYPaladin : 2007-02-07 15:02 ID:65ekt0lP [Del]

Ok. Let`s try...
This is solution for Windows
1) download and install ImageMagick-6.3.2-3-Q16-windows-dll.exe
2) check it (in the end of installation u will see instruction)
3) in ImageMagick directory try to test demo scripts in MagicPerl\demo directory. See if u have any errormessages (like missing dll`s)
4) Copy all of dlls from ImageMagicks root directory to u`re Windows\System32
5) Try execute demo scripts again. If u made all right - u must see result image.
5) Now wakaba scripts must work.

10 Name: Anonymous : 2007-05-12 15:11 ID:uFtuSN+p [Del]

I'm running in linux.
I have imagemagick installed(tried the same sintax that is used in and works).
Folders access is set to 777.
But i can't get thumbnails. When i upload a pic the page times out. Apache is creating a file in thumb/ but is 0 sized.

Pls help

11 Name: Anonymous : 2007-05-13 05:32 ID:uFtuSN+p [Del]

setting the full path to command in resolved the issue

12 Name: Anonymous : 2007-07-08 22:15 ID:+9zJscUo [Del]

I copied and pasted the convert.exe into my kareha folder and it made some thumbs. While in the config it still said 'convert' :3

13 Name: Anonymous : 2007-07-08 22:43 ID:+9zJscUo [Del]

same anon

Also just learned imagemagick has trouble with Adobe image files. I tryed to upload 3 and they all crashed. I then opened the same said images in ms paint, copied then pasted them into a new mspain t window and saved them as new files. Which got rid of the property that said it came from Adobe photoshop 7 or CS2 or CS3, and they became thumbnails easily.

14 Name: Anonymous : 2007-07-24 18:17 ID:hSXyjwFK [Del]


I have the same problem, but I run lighttpd.

15 Name: Anonymous : 2007-09-11 00:01 ID:iX/q+LxB [Del]

Same Problem here as >>10 & >>14

Im running Linux with Apache2 & Imagemagick6.3.5
Upped gif files are turned into thumbs and it runs all very well. Jpg and png files are thumbed but the thumbnailes all have 0 bytes.

16 Name: Anonymous : 2007-09-11 00:45 ID:iX/q+LxB [Del]

>>10 >>14

I solved the problem and it was pretty easy.
If you install the Imagemagick package like shown here:
you first have to make sure that your System supports png and jpeg.

Type in:
convert -list format

if you have already installed Imagematrix, if it does not show any png or jpg entry all you gotta do is install the following librarys

libpng-dev and libjpeg-dev

If you run debian you can just apt-get install these.
After you installed these libs install the Imagemagick. It will now have jpeg ang png support.
test it with another-> convert -list format

You can also try to convert a file by hand. Just make a dir and copy a png file in it and then run:
convert yourfile.png -resize 50% thumb.jpg

17 Name: Anonymous : 2008-06-07 00:09 ID:mP4XSeti [Del]

I am having a similar problem, I'm a on a paid hosting plan, but my thumbnails aren't showing up, I see them in the thumb folder, but they just don't show up on my page. I tried changing permission and etc, but I'm not sure what I'm doing. Thanks ahead of time.

18 Name: Anonymous : 2008-06-27 02:59 ID:n7VGY3WI [Del]

Can't get this to work either. Total first timer to this, but my board worked first time. Thank the maker!

Two questions
1) The thumbnail images should reside in extras\icons (from the root of my board install)?

2) Can someone tell me if the following looks correct syntax to enable Torrent and MP3? In my rules it now displays that these are allowed file types and i've have checked they can be uploaded.

# Icons for filetypes - file extensions specified here will not be renamed, and will get icons
# (except for the built-in image formats). These example icons can be found in the extras/ directory.
use constant FILETYPES => (
# # Audio files

mp3 => 'icons/audio-mp3.png',
torrent => 'icons/torrent.png',

# # To stop Wakaba from renaming image files, put their names in here like this:
# gif => '.',
# jpg => '.',
# png => '.',


many thanks,

19 Name: !WAHa.06x36 : 2008-06-27 05:07 ID:Heaven [Del]


You're actually asking about a different issue, I assume. If so, your problem is probably that icons should be in icons/, not extras/icons/. Everything in extras/ is supposed to be moved out of there if it is used.

20 Name: happy customer : 2008-06-28 02:43 ID:n7VGY3WI [Del]

Thank you, that worked moving the icons to the correct directory (^_^). I only have my host to thank for Kareha working first time, thumbs and all. Easyspace windows hosting is tops!

21 Name: truncate vs resize : 2008-07-04 06:45 ID:jIGIUYvA [Del]

Just setup my first kareha image board, but don't have 'convert' on my server yet.
Just wondering, is it acceptable to just truncate the source image for thumbnail purposes instead of resizing the image?
Like returning just the first 10% of the file?
Don't most images already in progressive mode?
Plus, discarding the last 90% would be discarding the details which is the goal of thumbnail!
It would be an alternative to the 'stupid_thumbnailing' option.
What's your thoughts?

PS: Thank you the the wonderful software.

22 Name: !WAHa.06x36 : 2008-07-04 07:15 ID:Heaven [Del]

> Don't most images already in progressive mode?

No. Actually, very few are.

23 Name: Anonymous : 2008-07-05 01:01 ID:jIGIUYvA [Del]

With limited access to the web host, how to setup 'convert' or alternatives?
I'm on Linux Apache Php/Perl and I don't have sufficient privilege to compile 'convert'.

24 Name: !WAHa.06x36 : 2008-07-05 08:51 ID:Heaven [Del]

You might be able to compile it and link it statically on another linux machine, and then copy it over. Kind of tricky to get right, though.

25 Name: : 2008-07-05 08:55 ID:jIGIUYvA [Del]

> No. Actually, very few are.

You're right. I just googled for a jpg, a gif, and a png randomly for testing purposes and all 3 are non-progressive/non-interlaced.

Back in university, the professor in the web design course strictly demanded all graphics be in progressive/interlaced mode in anticipation for slow visitors. I guess that was long ago and the faster web made the issue obsolete.

As a temporary measure, I hacked kareha to perform truncation for thumbnailing purposes. It seems silly to ask visitors to my site to post in progressive jpg, interlaced gif, and interlaced png for generating good thumbnail. In the interest of public domain, the hack is available on my site.

26 Name: Dyrnwyn : 2008-07-12 11:53 ID:p4jAH+PF [Del]

OK, I'm also having a similar problem. I have a windows 2003 server and am using Abyss web server. Everything went great up until this point. Now, the thumbnails seem to be working. They are showing up in the \thumbs dir. However, on the board, itself, they are still showing up with the no thumbnail link. Any ideas?

27 Name: Brandon : 2008-08-02 18:37 ID:yj2B7l3s [Del]

I just started using wakaba. Everything works aside from thumbnails displaying. If you go to the actual thumbnail folder when using the file manager you can see that the thumbnail is in there but when you view the page, it says there is no thumbnail to be viewed? Any ideas?

28 Name: BlackNoize : 2008-10-31 11:22 ID:+eilhUgR [Del]

I put the directory "c:/program files/magic...." to directory without spaces, change and all start working!

29 Post deleted by moderator.

30 Name: Anonymous : 2009-03-07 18:48 ID:lJjzU6BD [Del]

I have the same problem on a commercial hosting. Actually, as I've discovered, the script actually does make thumbnails and put them in /thumbs/ folder, they can be viewed and they look ok. But for some reason it doesn't link the thumbnails to the posts, posting the "No Thumbnail" link instead. What could be the problem?

31 Name: Anonymous : 2009-03-09 14:29 ID:lJjzU6BD [Del]

Additionaly, it doesn't delete the thumbnails after the posts get deleted. It seems like the script creates the thumbnails and then sort of forgets about them.

32 Name: Anonymous : 2009-04-27 22:35 ID:YeuFQBZD [Del]

I have the same problem. The only thing that seems to circumvent this is the stupid_thumbnailing feature, which is somewhat undesirable.

33 Post deleted by moderator.

34 Name: one : 2009-05-10 09:03 ID:BvMpUUud [Del]

Hi, I'm just playing with kareha in my abyss server and the same problem, "no thumbnail".

he thumbnail does created and appears in "thumb" dirrectory somehow they're didn't appear in page.

please someone got any solutions? I've tried many suggestions posted here but none working.

35 Name: one : 2009-05-11 06:25 ID:BvMpUUud [Del]

abyss no problem
perl also no problem

maybe someone should mentioned here to use

Q8 static

instead of Q16


36 Post deleted by moderator.

37 Name: Anonymous : 2009-07-07 08:15 ID:QytGFy7Y [Del]

I've solved this problem on ubuntu server by installing the "imagemagick" package. Without it the "convert" command cannot be used.

38 Name: Anonymous : 2009-08-05 05:53 ID:qSFoeceV [Del]

My new host only has GD and thumbnails are generated into the thumb dir correctly. But the imageboard doesn't show up the thumbnails. There's only the message "no thumbnail" displayed. Stupid thumbnailing works but it's just a temporary solution. How do I get thumbs shown up? My last host did not make any problems as they had imagemagick installed. Thanks

39 Name: Anonymous : 2010-02-12 19:38 ID:aSNm02mw [Del]

I have a same problem, with this modification you no need IM, it nice working with GD. Modify

# try GD lib (also sucks, and untested)
eval 'use GD';
my $src;
if($filename=~/\.jpg$/i) { $src=GD::Image->newFromJpeg($filename) }
elsif($filename=~/\.png$/i) { $src=GD::Image->newFromPng($filename) }
elsif($filename=~/\.gif$/i){ $src=GD::Image->newFromGif($filename) }
else { return 0 }

my ($img_w,$img_h)=$src->getBounds();
my $thumb=GD::Image->new($width,$height);
$thumb=GD::Image::colorAllocate(255, 255, 255);
my $jpg=$thumb->jpeg($quality);
open THUMBNAIL,">$thumbnail";
binmode THUMBNAIL;
print THUMBNAIL $jpg;
return 1 unless($!);

40 Name: Anonymous : 2010-02-12 19:44 ID:aSNm02mw [Del]

I add white color background:
$thumb=GD::Image::colorAllocate(255, 255, 255);

Add less pixelisation resizing;

And delete some code from gif handling.

Now in look like in ImageMagic. Magic. Some street magic.

41 Name: Anonymous : 2010-02-12 19:46 ID:aSNm02mw [Del]

Work's a good in my chan:

42 Post deleted by moderator.

43 Name: Anonymous : 2010-05-12 22:15 ID:nynmeggF [Del]

Ahah! I fixed it by removing all spaces from the convert path. Try changing "C:\\Program Files\\..." to "C:\\PROGRA~1\\..."

44 Post deleted by moderator.

45 Name: Silver : 2011-01-03 11:16 ID:jht5EstY [Del]

Um... I too get this error.

What puzzles me is that the thumbnails are actually generated in the 'thumb' folder, but the posts still end up with no image.

the file is like this:

use constant CONVERT_COMMAND => 'C:\\Program Files\\ImageMagick-6.6.6-Q16\\convert.exe';
the default did not work

ImageMagick is properly installed and has the perl thing too.

I don't really know what I'm doing so please explain in simple words ^^;

46 Name: Silver : 2011-01-03 11:59 ID:jht5EstY [Del]


I fixed it by uninstalling and reinstalling Imagemagick from ImageMagick-6.6.6-Q16 to ImageMagick

and I changed the path to:
use constant CONVERT_COMMAND => 'C:\\PROGRA~1\\IMAGEM~1\\convert.exe';

Both kareha and wakaba work now


47 Name: Anonymous : 2011-05-07 08:58 ID:WvWWMB8o [Del]


Thanks, dude. It worked for me too!

48 Name: Mr. Manager!!wIZhSe8U : 2012-05-12 12:52 ID:thTE+R5h [Del]

I'm having a strange issue with thumbnailing on my site. For some reason, certain images (usually larger ones) end up generating 0kb thumbnails, and the board displays the "No Thumbnail" message. Any idea what could be wrong?

49 Name: Anonymous : 2012-05-12 21:10 ID:Heaven [Del]

Again, what is your software? It sounds like you might be having memory issues, though.

50 Name: Mr. Manager!!wIZhSe8U : 2012-05-13 11:21 ID:thTE+R5h [Del]



Debian stable, Apache, etc. Just your standard webserver. I use nginx as a reverse proxy for static content. Apache handles all the Perl stuff though.

51 Name: Anonymous : 2012-05-13 11:35 ID:Heaven [Del]

It just sounds like you're running out of RAM and it's failing the thumbnails, though it's probably something else even more retarded. Really, if it's a standard install, there should be no issues. You've installed ImageMagick?

52 Name: Mr. Manager!!wIZhSe8U : 2012-05-13 13:06 ID:thTE+R5h [Del]

Of course. How much RAM do I need for something so... simple? Its not like more than one user is doing it at once.

53 Name: Anonymous : 2012-05-14 08:13 ID:Heaven [Del]

Really, you don't need much RAM on a properly configured server. On the other hand, if it's not properly configured, you will need a lot just because apache/php will be using crazy RAM.

The RAM needed to make a thumbnail is very minimal. If your server has a lot of free RAM, it's probably something to do with the way your server is set up. Is this a clean Debian install?

54 Name: Mr. Manager!!wIZhSe8U : 2012-05-14 08:56 ID:thTE+R5h [Del]


>is this a clean debian install

It was at one point. I've tried logging the output of the convert command, but I can't seem to get that working either. Anyways, I went ahead and ran top while posting a "large" image (3MB jpg at the most), and I didn't see the memory usage climb very high at all. I usually have at least 50% of my RAM free at all times.

55 Name: Anonymous : 2012-05-14 12:29 ID:Heaven [Del]

So, it's definitely not RAM. Are you able to re-image the server without interfering with anything else? You might want to try a fresh Debian 6 minimal install and just get the basics going.

56 Name: Mr. Manager!!wIZhSe8U : 2012-05-14 17:46 ID:Heaven [Del]

That's kind of a large project. I have a lot of other things running on it at the moment. If I could just figure out how to log error messages from imagemagick, I'd be able to figure this out on my own, but I guess I have to wait until I have time to start fresh. Oh well...

On the bright side, it turns out my version of Wakaba finally produces 100% valid HTML5. I'm pretty happy.

57 Name: Anonymous : 2012-05-14 18:59 ID:Heaven [Del]

Yeah, I assumed you were using the server for other things already. Apache logs don't say anything, either?

58 Name: Mr. Manager!!wIZhSe8U : 2012-05-15 10:37 ID:Heaven [Del]

I... haven't even thought to check. I should probably do that.

59 Name: Mr. Manager!!wIZhSe8U : 2012-05-17 10:56 ID:thTE+R5h [Del]

I found the error in my apache logs. Does this help at all?

[Thu May 17 10:51:33 2012] [error] [client] , referer:
[Thu May 17 10:51:33 2012] [error] [client] libgomp: , referer:
[Thu May 17 10:51:33 2012] [error] [client] Thread creation failed: Resource temporarily unavailable, referer:
[Thu May 17 10:51:33 2012] [error] [client] , referer:
[Thu May 17 10:51:33 2012] [error] [client] sh: djpeg: command not found, referer:
[Thu May 17 10:51:33 2012] [error] [client] sh: cjpeg: command not found, referer:
[Thu May 17 10:51:33 2012] [error] [client] pnmscale: , referer:
[Thu May 17 10:51:33 2012] [error] [client] EOF / read error reading magic number, referer:
[Thu May 17 10:51:33 2012] [error] [client] , referer:
[Thu May 17 10:51:33 2012] [error] [client] sh: sips: command not found, referer:

60 Name: Mr. Manager!!wIZhSe8U : 2012-05-17 11:39 ID:Heaven [Del]

I just went ahead and installed libjpeg8, and now Wakaba falls back to that (or whatever uses that) successfully, but the issue with ImageMagick isn't exactly resolved, so I'm still hoping we can solve the real problem.

61 Name: Anonymous : 2012-05-18 11:25 ID:Heaven [Del]

Do you use ImageMagick through any other programs? Does it work in those ones? Maybe your IM install is broken in some way. I can't remember if you said you reinstalled it.

62 Name: Mr. Manager!!wIZhSe8U : 2012-05-20 12:41 ID:thTE+R5h [Del]

I think my Gelbooru branch may have used it, but I haven't touched it in months, so I don't remember. I did work perfectly though. In fact, maybe I changed some stuff around in my imagemagick install for Gelbooru that caused all of this.

63 Name: Jusa : 2012-05-24 01:02 ID:OShzuRQE [Del]

>>43 This worked on my problem too!

64 Name: Mr. Manager!!wIZhSe8U : 2012-10-23 16:37 ID:thTE+R5h [Del]

Might as well bump this and let you guys know what the problem was. It turns out the build of ImageMagick in Debian's repos doesn't play nicely with low end VPSs (or virtualization in general, maybe). I solved the problem by using netpbm as my primary thumbnailer, but you can also compile ImageMagick yourself with --disable-openmp and the resulting binary should work properly.

Hope I managed to help someone out.

65 Name: Anonymous : 2012-11-05 08:25 ID:vnw8w5mG [Del]

I've never had an issue with Debian's ImageMagick. I can only imagine that you're on an OpenVZ VPS, to encounter such an issue. I've used ImageMagick with Wakaba on a 128MB VPS. Of course, this is in terms of having one image uploaded at any time. I'm sure you would start to encounter timeouts in various pieces of software if you were uploading multiple high resolution images at the same time, consistently throughout the day.

Any 512MB or higher Xen/HVM should be perfectly fine, though.

66 Name: Mr. Manager!!wIZhSe8U : 2012-11-05 09:19 ID:thTE+R5h [Del]


>I can only imagine that you're on an OpenVZ VPS, to encounter such an issue

Bingo. Either way, using netpbm or compiling imagemagick with --disable-openmp just about fixes the problem. I don't have NEARLY enough users to justify paying more than I do for my VPS though. I'm pretty sure that I can support 100 times the activity without changing anything.

Name: Link:
Leave these fields empty (spam trap):
More options...