elFinder callback url

Added by Emanuel Coelho 12 months ago

Hello guys,

I have a question about elFinder. I'm trying to edit the callback function when I double click the image or file he give me the path of the file and not the URL.

For example:

When I double click on the image "xpto.jpg" he gives me "http://localhost/site_folder/image_folder/xpto.jpg", and I just want the "/image_folder/xpto.jpg", because when I move the site to another location I don't have any problems with the images path.

Can you guys help me?

Thanks in advance.

Regards,
Elkas


Replies (2)

RE: elFinder callback url - Added by Troex Nevelin 12 months ago

See elFinder client options and set cutUrl to root value, or your own "cut value" which will be removed from url in callback.

RE: elFinder callback url - Added by Emanuel Coelho 12 months ago

Thanks mate =)

That solved it... Sorry I miss that option.

(1-2/2)