- 2009-11-29: mongodb_watchdog module created by dereine, ported to D7 by me in about half an hour, and migrated in a larger MongoDB project by damz before the hour ended. Wow...
- 2009-07-13: 100% unit test coverage on Taxonews for both D6 and D7 versions
- 2009-02-03: the new Drupal-based site for the golden jubilee of the french "Ministère de la Culture", which OSInet helped build, is now online
- 2009-01-22: new API site for CCK à la api.drupal.org
Deprecating img_relocator
In summer 2006, I created the img_relocator module, which was published to my sandbox, and apparently picked up by some Drupal admins, although it was never promoted to full-fledged project status.
As I suggested in march 2007, the URL replace filter module by David Lesieur looked like a promising replacement for that experimental module, and it would be possible at some point to switch to his module.
Well, as I see it, that time has come: with two recent patches (
#255314 and
#255332) I submitted today, it seems all use cases of img_relocator can now be covered by URL_replace_filter.
For the most common case, where you want to have image links like <img src="foo.png" alt="foo" /> replaced on the fly by <img src="http://www.example.com/bar/foo.png" alt="foo" />, all it takes is a one-time update to your database: replace your file references to "foo.png" by a "magic" path of your choice, like "magic". Then:
- apply the patches to
url_replace_filteror use a newer version including these patches if David chooses to validate them - go to
admin/settings/url_replace_filterand enable absolute path generation - for each of the content types on which you have enabled the url_replace_filter input filter, configure it with a rule like:
magic/becomes%baseurl/
And that's all there is to it ! Of course, if you meet problems with this change, comment here since there is no issue queue on d.o. for img_relocator, and I'll try to answer here.
After a transition period lasting until 2008/06/30, I will remove img_relocator from my sandbox, to limit confusion on newcomers.





Recent comments
3 weeks 7 hours ago
3 weeks 16 hours ago
3 weeks 1 day ago
8 weeks 1 day ago
13 weeks 4 days ago
13 weeks 4 days ago
13 weeks 6 days ago
13 weeks 6 days ago
14 weeks 1 day ago
15 weeks 2 days ago