Thumbnails won't copy

Random stuff about serendipity. Discussion, Questions, Paraphernalia.
Post Reply
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Thumbnails won't copy

Post by TKS »

Hiya all!


I just installed and have started configuring my install. I've gotten all the cosmetic stuff configured and done...now I'm having difficulty with the thumbnail builder. For some reason, It gives me the following error when I try and build thumbnails for my image gallery:

Code: Select all

Wanted to use image.jpg as it's own thumbnail, but failed to copy!
Is this a permissions problem? I was thinking it might be this...or that the path to imagemagick isn't valid. I'm running redhat 9.0 (clarkconnect)...is there a way to check where the imagemagick converter file is located? I guess I'm just thinking out loud here...Any help would be appreciated.

Thanks!

TKS
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Thumbnails won't copy

Post by garvinhicking »

Yes, the error message can only happen if either GDlib or ImageMagick fail. But this failure can also happen because of a permission problem, so make sure your "upload" folder is writeable for the webserver user.

You can find the imagemagick binary by using "locate convert" on a shell. That should tell you the location, usually /usr/bin oder /usr/x11/bin/

Regards,
Garvin.
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
TKS
Regular
Posts: 199
Joined: Thu Nov 11, 2004 1:34 am
Location: VA, USA
Contact:

Got it!

Post by TKS »

It was both permissions AND the location.


Odd thing about it is that it was under /usr/bin/convert

with no mentioning of imagemagick at all. Thanks for the help :)
SurfDude

Post by SurfDude »

I get the same error when I try to make thumbnails. I'm running Apache on Windows, but I think I have GD2 support (how can I check that?). And when I decide to installe ImageMagick, what should be the correct path to it?
Guest

Post by Guest »

SurfDude wrote:I get the same error when I try to make thumbnails. I'm running Apache on Windows, but I think I have GD2 support (how can I check that?). And when I decide to installe ImageMagick, what should be the correct path to it?
In addition to this post: manually resizing a picture in the Media Library Screen does work.
--p

Rebuild Thumbs - Fails

Post by --p »

I also am having a similar problem when I do "Rebuild Thumbs":

Synchronizing the database with the image folder

Done (Synchronized 0 images).

Resizing

Resize pichu1.jpg: x

Wanted to use pichu1.jpg as it's own thumbnail, but failed to copy!
Done (resized 0 images).


I'm running on windows: Apache 2.0, mySQL 4.0, PHP 4.3.9, ImageMagick-6.1.6-Q8

Images get uploaded in the upload directory fine, and I can rename them as well as create new directories within upload, so I'm assuming that permissions are okay?

I can also resize them, and this resize seems to hold... but when I do a "Rebuild Thumbs" command, all the resizes get blown away and the images go back to their original size. I'm assuming that the command to do resizes isn't ImageMagick?

The path to ImageMagic seems okay... if I change it, everything hangs... so that's probably a sign it's incorrect. I have it quoted "" in order for it to work, because it's in the "Program Folder".

Otherwise, everything looks really cool!

--p
houndbee
Regular
Posts: 18
Joined: Fri Apr 30, 2004 4:53 pm
Location: Bangalore, India
Contact:

Re: Got it!

Post by houndbee »

TKS wrote:Odd thing about it is that it was under /usr/bin/convert

with no mentioning of imagemagick at all. Thanks for the help :)
That is not odd actually, that is the location where the convert binary resides on most standard ImageMagick installations. :)
Post Reply