Hello:
I'm using the lastest version of FCK-Editor on a CMS to create/edit content (text and images).
I'm using the CMS content pages to
autogenerate daily newsletters and i need the editor to assign ABSOLUTE URL to images by default in order to display those images inside any mailbox.
I'm doing it manually rigth now but, for 100 (3 image) new articles a day it slows down process speed.
Anybody has a good advice? Your help would be very much appreciated, thanks.
Cheers,
I'm using the lastest version of FCK-Editor on a CMS to create/edit content (text and images).
I'm using the CMS content pages to
autogenerate daily newsletters and i need the editor to assign ABSOLUTE URL to images by default in order to display those images inside any mailbox.
I'm doing it manually rigth now but, for 100 (3 image) new articles a day it slows down process speed.
Anybody has a good advice? Your help would be very much appreciated, thanks.
Cheers,
RE: Absolute URL for images
If u are using PHP try to use ereg_replace like this
$inhalt = eregi_replace("src=\"/UserFiles/","src=\"http://www.yourURL/UserFiles/",$_POST['FCK_field']);
/UserFiles/ is the Path for the images in basic configuration, if you changed it replace it with your own path.
This works fine for me.
Maybe you have to strip slashes in the $_POST content to get it work.
regex works also in asp but i dont know the right function syntacs for it.
RE: Absolute URL for images
Thanks!