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?

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.

config.pl
<code>...

# 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 => '.',
);

...</code>

many thanks,

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

>>18

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: xn--newt36e.com : 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 config.pl 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]

>>30
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]

>>30
>>31
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

:3

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]

>>38
I have a same problem, with this modification you no need IM, it nice working with GD. Modify wakautils.pl:

# try GD lib (also sucks, and untested)
eval 'use GD';
unless($@)
{
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);
$thumb->copyResampled($src,0,0,0,0,$width,$height,$img_w,$img_h);
my $jpg=$thumb->jpeg($quality);
open THUMBNAIL,">$thumbnail";
binmode THUMBNAIL;
print THUMBNAIL $jpg;
close THUMBNAIL;
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;
$thumb->copyResampled($src,0,0,0,0,$width,$height,$img_w,$img_h);

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:
http://uchan.org.ua/

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 config.pl 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]

NEVERMIND.

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

YAAYYYY!!!

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

>>40

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]

>>49

>again

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]

>>51
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]

>>53

>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]

>>55
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]

>>57
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 127.0.0.1] , referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] libgomp: , referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] Thread creation failed: Resource temporarily unavailable, referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] , referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] sh: djpeg: command not found, referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] sh: cjpeg: command not found, referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] pnmscale: , referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] EOF / read error reading magic number, referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] , referer: http://glauchan.org/meta/
[Thu May 17 10:51:33 2012] [error] [client 127.0.0.1] sh: sips: command not found, referer: http://glauchan.org/meta/

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

>>59
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]

>>61
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]

>>65

>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...
Verification: