The selected image handling toolkit imageapi_optimize can not correctly process image_imageapi_optimize_get_info.
Unable to generate the derived image located at public://styles/thumbnail/public/field/image/IMG_1362.jpg.server

part of this http://drupal.org/node/1619796

Comments

protools’s picture

this error on FreeBSD and Mac MAMP

because people say that on Linux it works properly
http://drupal.org/node/1714578

protools’s picture

I try it again on Linux Debian with PHP Version 5.3.3
Drupal 7.14

same error

raj.chourasia’s picture

Facing the same issue on ubuntu-12.04 and Mac OSX 10.7.4 . Tried with imagemagick too but it does not work.

raj.chourasia’s picture

Started working after clearing all cache on ubuntu. However it still does not work on mac.

tito.brasolin’s picture

Adding a call to image_get_available_toolkits() to function _imageapi_optimize_get_methods() works for me:

/**
 * Gets all implemented methods by ImageAPI and contrib modules.
 * This function takes a dozens of miliseconds CPU times.
 */
function _imageapi_optimize_get_methods() {
  image_get_available_toolkits();
  $funcs = get_defined_functions();
[...]
jcisio’s picture

Status: Active » Needs review

#5 sounds a plan. Maybe this hook needs to be invoked to get required files loaded. Can anyone else test?

jacobpov’s picture

this module won't work for me same error message
using nigix , ubungtu and php with drupal 7

jacobpov’s picture

suddenly works out of nowhere , maybe because I removed cache a couple of times hmm.... , well it works :D

protools’s picture

from #5 work fine with freebsd thank you

jcisio’s picture

Title: The selected image handling toolkit imageapi_optimize can not correctly process » Bug #1714742 by tito.brasolin: The selected image handling toolkit imageapi_optimize can not correctly process
Status: Needs review » Fixed

I committed #5 with a few lines of comments.

jcisio’s picture

Title: Bug #1714742 by tito.brasolin: The selected image handling toolkit imageapi_optimize can not correctly process » The selected image handling toolkit imageapi_optimize can not correctly process

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

sam.spinoy@gmail.com’s picture

I'm still having a small issue with this. I'm using the 7.x-dev version and selected Yahoo Smush it as tool.

Image uploading goes fine, but when I then try to view the page where I just uploaded a new image, I need to refresh once first before the image shows. It won't show up on the first viewing.
Anyone else have this problem?

jcisio’s picture

Did you get the same error message, if any? If not please open a new issue.

sam.spinoy@gmail.com’s picture

Nope, no error message in the logs.