justboil.me icon indicating copy to clipboard operation
justboil.me copied to clipboard

Edit image path to load

Open omarsafwany opened this issue 9 years ago • 0 comments

I did the config as follows: $config['img_path'] = '/myproject/public/editoruploads'; $config['upload_path'] = $_SERVER['DOCUMENT_ROOT'] . $config['img_path']; and images got saved as :

However, I might need to load the images in different pages having different urls which fails as in the new page the url should be ../../../editoruploads/investor21.jpg.

How can I configure the load path to check if the img is not present in a certain url, to check in another one?!

omarsafwany avatar May 19 '15 10:05 omarsafwany