I have a blueprint for a block, in site/blueprints/blocks/textmedia.yml
name: Text (mit Bild)
fields:
text:
label: Text
type: textarea
image:
label: Bild
type: files
max: 1
layout: cards
translate: false
If I edit the translated page block, the text is editable, the image is greyed out, but I see the original image. That is how I think it should be.
In the frontend on the default language the image is rendered but on the translated page, the image is missing?
In the frontend I render the block with:
<?php
foreach($page->mybuilder()->toBlocks() as $block):
snippet('blocks/' . $block->type(), array('data' => $block));
endforeach;
?>
I had the same problem with the ‘old’ page builder. I had the hope that it is fixed in kirby 3.5
What am I doing wrong?