Your module appears to duplicate the functionality of the Pathologic module. If this isn't a duplicate module, could you please document how your module is different to help our end users decide which module is for them? If this is in fact a duplicate module, would you consider joining forces with the Pathologic maintainers and abandoning this module? That way instead of two similar modules we provide only one awesome module and it's less confusing for our end users.

CommentFileSizeAuthor
#6 IMCE.PNG14.57 KBduozersk

Comments

lourenzo’s picture

This is not a duplicate of pathologic. AFAIK, Pathologic makes absolute URLs and relative paths portable if you migrate your site.

rel_to_abs rewrites internal urls started with slash to full absolute URLs, including host.

IMCE when used via FCKEditor can only write URLs relatives to the host, and in some cases it's a problem.
For example, with simplenews newsletters that not show the images correctly because they are sent like:

<img src="/path/to/img.ext" />

If I'm wrong, please let me know

dave reid’s picture

From the module's documentation (http://drupal.org/node/257026#example-use-cases):

Links and/or images in your site content uses relative paths (eg, <a href="tag/food/pizza">) which work fine for people reading content on your site, but break gracelessly for people reading the content through RSS or some other sort of external feed. You could just start using absolute paths instead, but you're too set in your ways and would rather have a tool like Pathologic do it for you.

dave reid’s picture

Any update? It's been about a month.

lourenzo’s picture

I think reply #1 aswers the question.
This module prefixes url with the full URI, I've tried to use pathologic for this, and didn't get what I was expecting.

This is an relatively old solution for a website I've worked in, just found it and published.

I think it's a more focused module, not as full-featured as pathologic, but a simple direct solution.

Garrett Albright’s picture

For what it's worth, Pathologic can be configured to fix paths as in #1; it just doesn't do it out-of-the-box (perhaps it should). See the docs.

duozersk’s picture

StatusFileSize
new14.57 KB

To my knowledge, you can just configure IMCE to return the absolute paths... no?

jantoine’s picture

Lourenzo,

I just got the Pathologic module working on URLs created by WYSIWYG editors. You simply need to configure the module by adding "/" to the "Additional paths to be considered local" field when configuring the Input Format. Perhaps you could join the Pathologic team and have them add "/" by default, thus eliminating the confusion you ran into.

Cheers,

Antoine

catofcheshir’s picture

This module is need to convert relative-to-abs URLs for HTMLMail module.

jantoine’s picture

Catofcheshir,

This module is not required by the HTMLMail module for converting URLs from relative to absolute as I am using the Pathologic module for this very same thing. The HTMLMail module just chose to use this one. It could just as easily suggest the Pathologic module for the same purpose.

Cheers,

Antoine

Garrett Albright’s picture

Antoine, perhaps you could take a look at this issue in HTML Mail's issue queue and post your thoughts?: #779944: Support integration with Pathologic

lourenzo’s picture

Status: Active » Closed (fixed)

As the difference is clear, I'm closing this one