Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
I'm not shure of understanding the way of creating the Gallery Directory (in admin/settings/node_gallery/edit/node_gallery_gallery). How do I specify the name? Do I leave it blank?
Would it be like: « sites/default/files/albums/%uid » so in the «albums» folder, each user will receive a folder named after is uid?
Thank.
Comments
Comment #1
dbeall CreditAttribution: dbeall commentedyes, but the path you enter would be:
albums/%uid
One of my paths is :
members/%username/%gallery_name
I did mine that way because the members directory holds the username's directories.
So all the galleries will be with the member's other files, but in it's own folder..
mydomain.com/sites/default/files/members/dbeall/my_photo_gallery
do not include sites/default/files/
Comment #2
Québec CreditAttribution: Québec commentedWell... does not look good. :(
I have a «testing» member telling me that he cannot load images. His browser is just «turning and turning».
I have change the path to: albums/%username/%gallery_name just to check, and it did nothing. All permissions look ok.
Is the «albums» folder automaticly created? I created it using ftp. Was that a mistake? In my test site, I had left blank the path setting and it worked. Where did I do wrong?
Thanks for your time.
R.
Comment #3
Québec CreditAttribution: Québec commentedIts working now. Not shure why, but is seems to be stable.
What would be a good setting for the image upload limitation per user (imagecache preset), keeping in mind that I dont want my server to explode (images to big), while keeping a good quality of images on screen?
Thanks.
Comment #4
dbeall CreditAttribution: dbeall commentedThe folders can be either, created manually or let NG do it.. It does use tokens and possibly a cron run could have woke up the system..
The image quality will have to do with what type the images are.. If it is technical images, they need some resolution to view details and need to be bigger and maybe full size(no limit).. But vacation images don't need ultra high quality.
It does take a lot of images to really load the server up, depending on your hosting plan. I have a photo gallery on one of my sites with 14,000 photos.. around 390mb.
Comment #5
Québec CreditAttribution: Québec commentedThanks
Comment #6
baskin CreditAttribution: baskin commentedI'm struggling with this but i'm not getting anywhere (maybe i'm missing something).
The only place that i can configure the path is "admin/content/node-type/node-gallery-image/fields/field_node_gallery_image" where there is a path setting.
There when i set the path as "albums/%uid" a folder with the same name is created. It doesn't understand the %uid.
I'm i missing something? Thank you.
Comment #7
baskin CreditAttribution: baskin commentedI was missing filefield paths.