Trouble with directory in Lazy-Gallery plugin
-
I’m having a problem with the Lazy-gallery plugin. When I try to direct the plugin to the correct folders to retrieve images, the plugin automatically heads whatever directory I enter with “/var/www/”. My wordpress site is on my university’s server, xenon.truman.edu, and that server handles all students websites, in the directory home/student/. Because the server has its own website, which is located in /var/www/, the plugin automatically detects that as the web directory. The function which users edit is:
$gallery_address = ‘images/photos’;
There is another function, $gallery_root, which automatically gets the web directory (the wrong one, in this case) and adds $gallery_address to the end, creating the full directory. Is there any way I can change the code or anything to direct to MY directory? If it helps, my directory is /home/student/ptm134/public_html/ and the page showing the error is at https://www2.truman.edu/~ptm134/lazy-index.php .
Thanks for any help you can offer.
- The topic ‘Trouble with directory in Lazy-Gallery plugin’ is closed to new replies.