You are not logged in.
Hi all i have been trying to fix this for hrs now and i have search the forums and can not find the answer.
am using extended file manager and when i select an image or browse and upload one then ad it to the page it only displays the short url in the html, for example uploads/22/5.jpg but i need it to insert the full url in to the html for example http://mysite.com/uploads/22/5jpg
what file and what part do i need to edit to do this??
i have tried adding
xinha_config.baseHref = 'http://customersite1.com/';
to my main config file but this did not work
can some one please please help am sure its easily done just cant find how to do this
thanks from Patrick
Offline
can anyone help please ???????????????
Offline
Some One Must No How To Do This
Offline
what a waist of time these forums are
Offline
hello, yea seems to be dead
i think youre trying to alter the wrong config file...
EFM has its own.
Example:
my sites webroot:
/var/www/www.domain.tdl/web/
------------------------------------
-index.php
/lib/xinha/plugins/ExtendedFileManager/
/data/upload
my extended file manager config location:
/lib/xinha/plugins/ExtendedFileManager/config.inc.php
set:
$IMConfig['images_dir'] = '../../../../data/upload';
$IMConfig['images_url'] = 'http://www.domain.tdl/data/upload';
if u want to use the default dir ls -la and check for ny .htaccess files
Offline
James Sleeman
Offline
that did not work it still only shows the short url in the html code for example /uploads/24/1217414430.jpg when i need it to read the full address www.mysite.com/uploads/24/1217414430.jpg can any one help??
also what did you mean when you said "if u want to use the default dir ls -la and check for ny .htaccess files" ?????
Please Please help am sure other peole need to do this
thanks from patrick
Offline
this is a joke lol some one must know how to do this??? this is useless to me with out this please help
Offline
I have same problem. If i insert a new image, then only the relative path is inserted ("image/image.png"), not the full url. ("http://mysite.hu/image/image.png"). Anf this is bad, because i want using url rewrite, but with relaive path. the images wont display.
But the fun thing is: on my home machine with easyphp it works, then on the online rented webserver why not ?!
Offline
I do not no this is doing my head in, if no one can help me with this does any one no a good html editor with a file manages that can display the full URL I could use???? please let me know thanks from patrick
I can not believe no one knows how to do this.
Offline
Of course i can make a workaround with php, replacing the relative paths with the full one, with str_replace(). But i think, this is not the real solution.
Offline
Of course i can make a workaround with php, replacing the relative paths with the full one, with str_replace(). But i think, this is not the real solution.
how do u do this?
Offline
simply, when you process the posted values, before insert the posted values to the database. But i used the xinha editor too many places all over my site, and i dont want every posted textarea values postprocessed.
Offline