Skip to content

Pageimages::add() fails to add Pageimage object from another page #710

@Toutouwai

Description

@Toutouwai

Short description of the issue

An attempt to add a Pageimage object from another page to an Images field fails when using Pageimages::add().

Page with source image:
2018-09-25_114033

Screenshot showing failure of image add, with the code that was used to try and add the image:
2018-09-25_114629

Setup/Environment

  • ProcessWire version: 3.0.114
  • Running locally on Windows 10

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions