Skip to content

Image Manipulation with Watermark #188

Closed

Description

@BKStumpf

Description of the problem
Having a watermark on an image manipulation causes error on upload. The file DOES upload to the server, but errors are generated.

How To Reproduce
Steps to reproduce the behavior:

  1. Create a watermark using a transparent png file
  2. Assign that watermark to an image manipulation in an upload directory:
    Type: Image
    Alignment: Bottom
    Padding: 0
    Offset:0 0
    Path: as needed
    Opacity: 100
    Image Transparency Map: 2, 2
  3. Upload a file to the directory

Error Messages

Warning
A non-numeric value encountered
ee/legacy/libraries/Image_lib.php, line 951

Severity: E_WARNING
Warning
A non-numeric value encountered
ee/legacy/libraries/Image_lib.php, line 952

Severity: E_WARNING
Warning
A non-numeric value encountered
ee/legacy/libraries/Image_lib.php, line 957

Severity: E_WARNING
Warning
A non-numeric value encountered
ee/legacy/libraries/Image_lib.php, line 958

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 238

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/core/Input.php, line 238

Severity: E_WARNING
Warning
Cannot modify header information - headers already sent by (output started at ee/legacy/core/Exceptions.php:120)
ee/legacy/libraries/Functions.php, line 393

Severity: E_WARNING

Environment Details:

  • Version: 5.2.2
  • PHP Version 7.2.13
  • MySQL Version 5.5
  • OS: macOS
  • Web Server: Apache

Activity

  1. added
    Bug: Accepted
    on May 1, 2019
  2. self-assigned this
    on May 1, 2019
  3. removed their assignment
    on Jan 15, 2020
  4. added a commit that references this issue on Mar 24, 2020
    9abbea7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Bug: Accepted

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions