How to integrate a bunch of already uploaded images?
In a project I have a lot of galleries, presented (up to now) using [tt]MaxiGallery[/tt] . Now I want to change to [tt]EvoGallery[/tt] .
Because all the pictures of a gallery are already uploaded in a subdirectory like [tt]assets/galleries/##[/tt] , where [tt]##[/tt] is the ID of the resource of the gallery, I want to make them accessible by EvoGallery without the need to upload them anew one by one.
Is EvoGallery able to handle this? Then I also could upload images via FTP and let EG create the gallery. A very desirable feature...
Thank you for hints.
ottogal
Quote from: ottogal at Feb 22, 2011, 03:35 AM
How to integrate a bunch of already uploaded images?
In a project I have a lot of galleries, presented (up to now) using [tt]MaxiGallery[/tt] . Now I want to change to [tt]EvoGallery[/tt] .
Because all the pictures of a gallery are already uploaded in a subdirectory like [tt]assets/galleries/##[/tt] , where [tt]##[/tt] is the ID of the resource of the gallery, I want to make them accessible by EvoGallery without the need to upload them anew one by one.
Is EvoGallery able to handle this? Then I also could upload images via FTP and let EG create the gallery. A very desirable feature...
Thank you for hints.
ottogal
a little modul could do that
I also got a problem when I changed the path for the image folder.
The images do upload, and are present in the new folder, but somehow modx screws up the path to the images and doens’t display them backend and frontend.
I think it has something to do with the path inside siteCache.idx.php not changing..
$params[\’galleriesPath\’] = isset($galleriesPath) ? $galleriesPath : $modx->config[\’base_path\’] . \’assets/galleries/\’;
// Path to the galleries directory
I’ve already found the problem, the EvoGallery snippet and thumb_handler.php aren’t getting their paths from config.inc.php, but have them hard coded..
I just encountered a serious problem.
I just installed a fresh copy of modx and evogallery, and wanted to change the paths I mentioned before.
I tried to change the path to the galleries in the EvoGallery snippet and suddenly everything stopped working.
So I reinstalled everything and tried to just open the EvoGallery snippet and save it without changing anything.
When I did that the gallery again stopped working and outputted nothing, no errors, nothing..
Any clue?
Thanx in advance!
This is unbelievable: when editing the snippet directly in mysql it works just fine..