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?
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.
I am using Apache2.
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?
No change. Could it be the space in the path name?
nevermind about the space. reintsalled to a new location without one and still no change.
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
I have the same exact problem as >>1
If anyone makes a breakthrough I will love you forever :O
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.
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
Nvm.
setting the full path to command in config.pl resolved the issue
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
>>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.
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
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.
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,
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.
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!
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.
> Don't most images already in progressive mode?
No. Actually, very few are.
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'.
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.
> 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.
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?
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?
I put the directory "c:/program files/magic...." to directory without spaces, change config.pl and all start working!
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?
>>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.
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.
abyss no problem
perl also no problem
maybe someone should mentioned here to use
Q8 static
instead of Q16
:3
I've solved this problem on ubuntu server by installing the "imagemagick" package. Without it the "convert" command cannot be used.
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
Work's a good in my chan:
http://uchan.org.ua/
Ahah! I fixed it by removing all spaces from the convert path. Try changing "C:\\Program Files\\..." to "C:\\PROGRA~1\\..."