image_exact does not work at all

szigeti - October 4, 2007 - 22:05
Project:Image Exact Sizes
Version:5.x-0.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

Hey. This is my first bug report, please review this bug, I might be wrong.

I installed and configured this module and nothing worked, the image was resized the same way as without this module. After debugging for a while I found the bug in image_exact.module line 93.

Wrong:
$destination = file_create_path($node->images[$sizes[$i]['label']]);
Right:
$destination = file_create_path($node->images[$i]);

It works perfectly with this correction.

#1

yngens - October 17, 2007 - 00:57

i confirm it started to work with this change. thank you, tomislander

#2

soupp - November 29, 2007 - 00:12

Yay! Thanks!

Worked fine for me with Drupal 5.3 + Image module 1.6.

I was going to forget this module. But seems it is handy again.

#3

xav - February 11, 2008 - 13:52

It's still not working here. Anything I need to do to make it work ?

#4

xav - February 11, 2008 - 15:01

Correction: it does work for newly uploaded images (one by one), but it doesn't work at all for all thie images already on the site ...

#5

xav - February 13, 2008 - 10:06

FWIW, I backported a patch to current image.module that kind of obsoletes image_exact (except for avatar support): http://drupal.org/node/221139

#6

joshk - March 7, 2008 - 20:16
Status:needs review» closed

Fixed! Thanks.

FYI, ideally you want to submit a .patch or .diff file.

#7

thomasmurphy - June 2, 2008 - 23:51

Yay, thanks for this patch, works great. Shouldn't it be in the full version? Who maintains this module?

 
 

Drupal is a registered trademark of Dries Buytaert.