Issue Bug Closed

#63353Media Relation from translated page properties in a workspace

Jonas Enders 11/27/14, 00:27 updated 10/04/22, 14:16

Description

Hi,

I have encountered a problem when reading images from the translated page properties in a workspace.

How to reproduce:

  • Output the image anywhere in your template:
lib.heroimg = IMAGE
lib.heroimg {
  file {
    import = uploads/media/
    import.data = levelmedia:-1, slide
    treatIdAsReference = 1
    import.listNum = 0
  }
}
  • Add an image in the page properties of the translation. Take a look at the frontend, the image will be shown.
  • Switch to a workspace.
  • Delete the newly created relation and add a new one.

No image will be shown. Neither in Workspace nor live mode.

I will try my best to find the problem and a solution, but I would be happy if someone could help.

Thank you and best regards

Jonas

Reviews 3