Community & Support

wrong easy_image_insert paths

about: http://drupal.org/project/easy_image_insert

when inserting an image a wrong path is submitted by the module in the textarea (body in this case)
the code that is insertedOnly local images are allowed./files/" alt="" />
maybe this has got something to do with version of the dependant modules?

if (preset != '') {
image_src = '/' + path + '/imagecache/' + preset + '/' + path + '/' + image_name;
}
else {
image_src = '/' + path + '/' + image_name;
}

needs some changes in order to locate the correct imagecache path. What is the variable to get the name of the CCK_imagefield used?

the correct paths are:
/files/imagecache//f/
and /files//

Comments

the correct paths

the correct paths are:
/files/imagecache/preset_name/imagefield_name/image_name
and /files/imagefield_name/image_name

anyone knows a solution please?

thx
tom