Problem/Motivation

There are times when the tracker needs to return an image.

Steps to reproduce

Proposed resolution

send_image=0 No Content
send_image=1 1 px gif

Remaining tasks

User interface changes

API changes

    $gifData = hex2bin(
      '47494638396101000100800000000000' .
      'FFFFFF21F9040100000000002C00000000' .
      '010001000002024401003B'
    );

    $response = new Response($gifData);
    $response->headers->set('Content-Type', 'image/gif');
    $response->headers->set('Content-Length', strlen($gifData));
    $response->headers->set('Cache-Control', 'no-cache, no-store, must-revalidate');
    $response->headers->set('Pragma', 'no-cache');
    $response->headers->set('Expires', '0');

Data model changes

Issue fork visitors-3540817

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

bluegeek9 created an issue. See original summary.

  • 8d53f5da committed on 8.x-2.x
    Issue #3540817 by bluegeek9: Option: Return 1px image
    

bluegeek9 changed the visibility of the branch 8.x-2.x to hidden.

bluegeek9’s picture

Status: Active » Fixed
//www.flaticon.com/free-icons/thank-you Thank you for your contribution! Your continued support makes this project sustainable.
There are multiple ways to show appreciation, including:
  • Triaging issues and adding more context to existing issues.
  • Writing documentation or patches for this project.
  • Flagging Visitors as a favorite on the project page to help others discover it and show your support.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.