Closed (fixed)
Project:
Image Resize Filter
Version:
7.x-1.9
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Oct 2010 at 17:11 UTC
Updated:
19 Dec 2010 at 23:20 UTC
Jump to comment: Most recent file
Comments
Comment #1
quicksketchYeah, beta 1 of Drupal 7 removed that function. I'm not working on updating my modules to Drupal 7 any more currently, after too much frustration of every single module I've ported breaking. I'll wait a few more releases and report everything then. If you can provide a patch I'd be happy to review it.
Comment #2
billsdesk commentedBefore working on a patch for this module, I need to work on patches for other modules for which I am not receiving any responses from the developer. There are actually a couple of modules that I may port to D7 just because I like the D6 module.
Comment #3
Scott J commentedHere is the core issue, for anyone wishing to look at this: #895308: Remove file_directory_path()
And the documentation: http://drupal.org/update/modules/6/7#file_directory_path
Comment #4
florisla commentedThis issues looks very similar to insert module #918958.
Probably the same fix (replace with
file_default_scheme()) can be applied.Comment #5
quicksketchPutting this back to active now that D7 is in RC.
Comment #6
florisla commentedIn that case, we need a patch!
This seems to work for me, although I'm not sure it's correct in all cases.
Comment #7
quicksketchThanks for the patch florisla. It did indeed get the most common situation running, but we still had multiple locations where file_directory_path() was used, plus some other updates necessary. This patch updates the following:
- Now works with private file system.
- Now works with Image module's styles (similar to our previous ImageCache support).
- image_resize_filter_delete_recursive() is no longer needed, we can use file_unmanaged_delete_recursive().
Other changes are definitely still necessary (removing upload.module support for example), but this does seem to get things working for the most part again. I'll release new alphas of Image Resize Filter for D7 shortly.