Posted by gorbeia on January 12, 2009 at 8:55am
8 followers
| Project: | ImageCache |
| Version: | 6.x-2.0-beta8 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
The Image cache module documentation recomends using the transliteration module and altering the theme_imagecache function. Going this way prevents a clean update of the image cache module since it is necessary to edit the file after each update.
As the altered theme_imagecache function checks the existence of the transliteration module it makes no harm to include this function by default in the image cache module.
Comments
#1
Good idea. I second this.
#2
roll a patch. as it is i'm happy with just recommending this.
#3
Hi!
The theme_imagecache function in the module looks more complex than the one on the documentation page.
Is that code up to date?
Thanks!
Ricardo
#4
Here comes a patch. I've tested it only whith the 5.x-2.3 version. But it should also work with the 6.x-2.0-beta8.
#5
#6
+1 for the feature; as there is already a module that handles the transliteration of the strings used in Drupal, it would be better to use that module to avoid the duplication of existing code.
Then, the code to keep updated in case of bugs would be reduced.
#7
I think, the patches #4 and #5 are identical.
#8
Actually, they aren't; the initial offset reported is different (775,6 versus 697,6).
#9
@smitty: I took the edits from #4 and changed the 6.x module version, nothing more! :)
#10
Fine! Then we have a patch for Drupal 5.x (#4) and for Drupal 6.x (#5).
#11
marked #369193: Image src not properly URL encoded #447156: Needing only a url from imagecache as a duplicates.
#12
@drewish: we'll see this patch merged in next -beta10 release?
#13
i think this might be a better place to put it.
#14
committed to HEAD.
#15
Will there be a rollback to 5.x?
#16
yeah, going to fold that into the backport of #347566: Require transliteration module.
#17
Automatically closed -- issue fixed for 2 weeks with no activity.