wrong easy_image_insert paths
mediamash - December 31, 2008 - 13:26
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 inserted/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//

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