image_exact: File does not exist.
j0sh - June 6, 2007 - 20:21
| Project: | Image Exact Sizes |
| Version: | 5.x-0.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
when i modify my profile uploading an avatar i receive an error "image_exact: File does not exist."

#1
I get the same error.
#2
problem 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]);
#3
Just 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. :-)
#4
I 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.
#5
Where is the image_exact_nodeapi file?