Announcement

Do not use the forums to submit bug reports, feature requests or patches, submit a New Ticket instead.

#1 2008-08-01 00:05:55

paddymull
New member
Registered: 2008-07-31
Posts: 8

how to display full image URL?? when using extended file manager

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

#2 2008-08-01 10:27:19

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

can anyone help please ???????????????

Offline

#3 2008-08-04 22:36:18

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

Some One Must No How To Do This

Offline

#4 2008-08-06 13:41:52

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

what a waist of time these forums are

Offline

#5 2008-08-06 15:18:49

coffeecup
New member
Registered: 2008-08-06
Posts: 3

Re: how to display full image URL?? when using extended file manager

hello, yea seems to be dead smile


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

#6 2008-08-06 21:57:41

gogo
Xinha Leader
From: New Zealand
Registered: 2005-02-11
Posts: 1,015
Website

Re: how to display full image URL?? when using extended file manager


James Sleeman

Offline

#7 2008-08-20 14:18:28

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

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

#8 2008-08-22 20:32:52

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

this is a joke lol some one must know how to do this??? this is useless to me with out this please help

Offline

#9 2008-08-23 12:05:03

lidi
New member
Registered: 2008-08-23
Posts: 3

Re: how to display full image URL?? when using extended file manager

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

#10 2008-08-26 23:10:59

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

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

#11 2008-08-30 03:46:23

lidi
New member
Registered: 2008-08-23
Posts: 3

Re: how to display full image URL?? when using extended file manager

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

#12 2008-08-30 21:10:13

paddymull
New member
Registered: 2008-07-31
Posts: 8

Re: how to display full image URL?? when using extended file manager

lidi wrote:

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

#13 2008-08-31 02:01:10

lidi
New member
Registered: 2008-08-23
Posts: 3

Re: how to display full image URL?? when using extended file manager

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

Board footer

Powered by FluxBB