chaphotos.deandecaussin.com -------------------gallery website
chaphotos.deandecaussin.com/_123phpinfo.php ----link to phpinfo
I have people downloading images with zipcart and the big problem is they just want the images, they dont care about the tree structure/file structure of how I have the pictures organized on the server. It makes is very hard for the user to cascade though all the directories to find the file!!
Any command switches to allow one zip file with all the files at the same directory level?
Thanks for your help.
Posts: 159
There will be a checkbox in the next version of checkout. Watch this space.
Posts: 5
To make the change yourself, go to the modules/zipcart/classes directory. Edit the ZipCartPlugin.class file. Around line 104, should be the following:
$relativePath = (strpos($path, $albumDir) === 0) ?
substr($path, strlen($albumDir)) : basename($path);
Change this line to be:
$relativePath = basename($path);
This will get rid of the directory structure, and just put the filenames.
Hope this helps.
Posts: 159
Or download the latest version of checkout and untick the box in admin for nested folders on the zip file.