Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

General

Single image gallery for multilanguage page

Started by Jiří Maha 7 years ago · 0 replies · 432 views
7 years ago

Hi, do you recommend some approach for shared image gallery for multilanguage page? I do in a page blueprint:

YAML
header.photos:
  type: file
  label: Photos
  destination: '@self'
  multiple: true
  limit: 0
  accept:
    - image/*        

Which isnt shared across language versions. I might do page.media.images instead of my custom field page.header.photos but

  1. I need to display only some specific images per gallery (ie.: photos and/or illustrations
  2. it wouldn't be shared (visible) in admin anyway.

Thanks for any hint!

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 85 12 hours ago
General · by pamtbaau, 17 hours ago
1 60 17 hours ago
General · by Andy Miller, 1 day ago
0 47 1 day ago
General · by Marcel, 12 months ago
6 350 5 days ago
General · by Duc , 6 days ago
3 44 5 days ago