Active
Project:
Image Exact Sizes
Version:
5.x-0.1
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jun 2007 at 20:21 UTC
Updated:
16 Feb 2009 at 09:12 UTC
when i modify my profile uploading an avatar i receive an error "image_exact: File does not exist."
Comments
Comment #1
anders.fajerson commentedI get the same error.
Comment #2
bob.hinrichs commentedproblem is in image_exact_nodeapi. The array refers to the label and not to the key, so the resulting path is blank.
This is a critical error in that it throws errors on the site (google the web and you will find it for all to see on several sites), on upload, and messes up the file paths. There is no good workaround that i have seen, since one cannot edit the labels of the default image sizes.
Fix:
$destination = file_create_path($node->images[$sizes[$i]['label']]);
change to:
$destination = file_create_path($node->images[$i]);
Comment #3
futureal commentedJust a note that I experienced the same problem, and arrived at the same fix as above. I would have been surprised if this hadn't already been reported, but thought I'd check anyway just to make sure. :-)
Comment #4
SeanBannister commentedI just applied this change but I still get the same error. Haven't got the time to look into it right now but will get back to it when I have time.
Comment #5
johlin commentedWhere is the image_exact_nodeapi file?