I have some images saved separately in folder outside the document root.
I write a program to zip those images using ZipArchive();
the php file is running inside sub folders of my document root.
i just give the outside image path as an array and pass it to zip object and works fine
$imgList = array(
'/OUTSIDEFOLDER/img1.jpg',
'/OUTSIDEFOLDER/img2.jpg'
);
same path i used to display the image in
<img src='/OUTSIDEFOLDER/img1.jpg'>
this is not working. What i am doing wrong . Is it a limitation of image source or
i have to look any config htaccess settings