Closed (fixed)
Project:
Image
Version:
5.x-1.x-dev
Component:
image_import
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Apr 2007 at 01:01 UTC
Updated:
26 Jun 2007 at 06:18 UTC
When trying to import images using GD I get: "Unable to create scaled thumbnail image". Only the original jpg gets copied from files/images/import to files/images.
I've tried including "touch($destination);" (http://drupal.org/node/60155) in images.module (566) but that don't do the trick. Manually I manage to use image_scale in these directories so create a new scaled jpg.
Comments
Comment #1
drewish commentedcheck the image-toolkit settings and make sure you actually have the gd extension installed.
Comment #2
Karsten-M commentedIt says: "No image toolkits found. Drupal will use PHP's built-in GD library for image handling".
But the log says: #The selected image handling toolkit imagemagick can not correctly process image_imagemagick_settings"
If I include the image.imagemagick.inc in the includes directory I can choose GD (and not ImageMagic), but then it asks for the 'Location of the "convert" binary:' Is that not an ImageMagic config? What do I enter here?
Comment #3
Karsten-M commentedComment #4
drewish commentedwould you mind updating to the latest 5.1-dev release? i've committed a few other fixes that might impact this.
Comment #5
Karsten-M commentedI've already did, but no matter what I did in the app to set the image toolkit to GD the value of the variable "image toolkit" in MySql remained "imageMagic". So I deleted it and changed the toolkit to GD in the app again and then it worked. Maybe something buggy about the tookit settings page?
Comment #6
drewish commentedah, yeah i ran into that a while back and rolled a patch for core but it didn't go anywhere: http://drupal.org/node/113385
perhaps you could test it and follow up on that issue?
Comment #7
drewish commentedi'm assuming you got this worked out.
Comment #8
(not verified) commented