Hello, I’d like to inquire.
The main page of the same design and structure is accessed in two languages (Korean and English).
An image is inserted into the main page, and I want to use a different image when accessing the Korean page and when accessing the English page.
Now, if you modify one, the other language page will change to the same image.
Users can upload up to eight, so there are eight upload boxes on the panel and template names are classified by numbers. The image posted on the first template upload box goes into the first box, and the image posted on the second template upload box goes into the second box.
How can I fix this?
I need your help…! Thank you.
<?php $images = $page->files()->filterBy('template', 'oneimage') ?>
<li class="grid-item" style="width: <?= $page->widthone() ?>; height: <?= $page->heightone() ?>;">
...
- width: 1/4
sections:
mainone:
headline: 1
type: files
layout: cards
template: oneimage
info: "{{ file.dimensions }}"
uploads: false
image:
ratio: 5/5
cover: true
size: tiny
- width: 1/4
sections:
maintwo:
headline: 2
type: files
layout: cards
template: twoimage
info: "{{ file.dimensions }}"
uploads: false
image:
ratio: 5/5
cover: true
size: tiny
....