Closed (fixed)
Project:
Inline
Version:
5.x-1.1
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
25 Jan 2008 at 17:12 UTC
Updated:
23 Jul 2008 at 10:56 UTC
Jump to comment: Most recent file
The major rewrite of Imagecache breaks the compatibility with the inline module.
In fact, lot of functions of Imagecache (looking for a better code compatibility and readability) has been renamed.
I find that the collaboration between Inline and Imagecache is the best way (most intuitive one) to insert images on posts and manage them with minor hassle.
An imagecache_compat.module was planned, but the author is not going to release this compatibility layer anymore.
Could we find support in the Inline developmment?
Is possible an Inline-side update to get this working with the new version of Imagecache?
Thank you a lot!
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | inline-DRUPAL-5.imagecache.patch | 2.26 KB | sun |
| #11 | inline.module.4.patch | 2.18 KB | havran |
| #8 | inline.module.3.patch | 2.08 KB | havran |
| #6 | inline.module.2.patch | 2.1 KB | havran |
| #3 | inline.module.patch | 2.13 KB | havran |
Comments
Comment #1
havran commentedHere is moddification latest Inline for Imagecache 2 (add + lines into inline.module from line 83):
Comment #2
sunI need a proper patch (see http://drupal.org/patch/create) and I would like to see the same code as in #259471: Update for ImageCache 2 API
Comment #3
havran commentedHere is patch.
Comment #4
sunI think you accidentally removed
'!presets' =>from the fieldset description, so the ImageCache settings path won't be replaced.Comment #5
havran commentedIn Imagecache 2.0 is path for ImageCache settings
admin/build/imagecache. For this reason i use condition which set correct path in'!presets' => array(...). This is work in my installation correctly and i get ImageCache settings page. I testing this only with ImageCache 2.0.Here is bit moddified patch.
Comment #6
havran commentedHere :).
Comment #7
sunoww... now I get it! You've turned $imagecache_path into an array already:
Please don't do that. t() and the arguments to t() belong together. It's okay to prepare $imagecache_path somewhere else, but the overall structure should look like:
So if the string in t() will ever be updated, one will find the contained argument right next to it.
Comment #8
havran commentedThanks to review, here is (i hope) final patch.
Comment #9
JamieR commentedPatch applied and is working for me thus far... Thanks havran!
Comment #10
sunHm. Patch does not apply against DRUPAL--5, resp. latest development snapshot. Could you re-roll, please?
Comment #11
havran commentedHere is same patch against DRUPAL-5.
Comment #12
sunHrm... much duplicate code. What about attached patch?
Comment #13
micahw156Patch #12 worked for me in a couple of different environments:
Patch applied to latest (2008-Jun-15) 5.x-1.x-dev.
You may note from this that it did not break ImageCache 5.x-1.x compatibility.
Micah
Comment #14
sunComment #15
sunCommitted to HEAD, 5.x-2.x, and 5.x-1.x.
Comment #16
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.