Hi everyone,
I am writing to you as a software developer at Tinify, creators of the TinyPNG API. First of all I'd like to thank you for all your hard work contributing such an excellent plugin. We get many reports from happy users of your plugin! Thank you so much!
I'd like to request a feature addition to this plugin. The Tinify API client for PHP has the option to set an application identifier. This identifier is included in the user agent headers when making requests to the Tinify API. An example is: Tinify\setAppIdentifier("MyApp/1.2.0");
Would it be possible to include a call to setAppIdentifier in this plugin? I'm thinking adding something like:
Tinify\setAppIdentifier("Drupal/8.5.0");
Of course the version would be different based on the actual Drupal version. I have no experience with Drupal so I don't know what the best way to get the current version is, but perhaps something like this could work:
Tinify\setAppIdentifier("Drupal/" . VERSION);
The reason for this request is that for us it is frequently extremely useful to be able to tell what kind of integration someone is using. This allows our support team to more easily help a user and direct them to the right solution.
Hopefully you will consider this addition for a future version. Thank you and have a great day!
Comments
Comment #4
tikaszvince commentedThank you the request. New version of TinyPng module sets application identifier as you mentioned.