No Thumbnail (44)

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

Nvm.
setting the full path to command in config.pl 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]

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

>>10

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:
http://www.imagemagick.org/script/install-source.php#unix
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.

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.

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