Services Plugins FAQs

Imgix workflow error

Hello!

I get this error when running the imgix plugin

The plugin “Imgix” Image Processing / element Imgix Processing threw the following error: TypeError: Cannot read properties of null (reading ‘replace’)
at eval (PLUGIN_1527256328716x938918962436505600/-Imgix–Image-Processing-update–Imgix-Processing-.js:176:65)
at https://dhtiece9044ep.cloudfront.net/package/run_debug_js/0ce0717578dde0d6b592e25ecbaf950493abf156836d3f2a2bf909c2eab3185c/xfalse/x15:6:2270705 (please report this to the plugin author)

Not sure where to report it, so trying here :slight_smile:

Can you help pretty please ?

Hello, @famlibine
Thanks for reaching out.

Please allow me to note that I’ve tested the Demo Page and the mentioned issue was not reproduced on our side.
Thus, can you please provide us with the next details:

  • Steps for reproducing this issue;
  • Screenshots of your current settings for the plugin (and action you are trying to do).

Looking to hearing from you soon.
Best regards,

Hi. I just bought the plugin and am getting exactly the same issue. Steps: Add processing element to page. Pick a source, an image uploader, for the image. In workflow, attempt to pixellate the source image, just for a test. But when I preview the page, before hitting anything like a button to run the workflow, I am getting this:

The plugin “Imgix” Image Processing / element Imgix Processing threw the following error: TypeError: Cannot read properties of null (reading ‘replace’)
at eval (PLUGIN_1527256328716x938918962436505600/-Imgix–Image-Processing-update–Imgix-Processing-.js:176:65)
at https://dhtiece9044ep.cloudfront.net/package/run_debug_js/98fd8fba8487339a763b770aea0262d9ffe27167fffae49188cd92e8ec6a2398/xfalse/x12:6:2283842 (please report this to the plugin author)

Might be good to try to install it in a new project, other than the demo project, to see if you can reproduce this error. It’s a complete showstopper, of course.

Thanks.

This error is reported in the bottom right of the browser window by the triangular exclamation point icon.

Okay, I got it to work. It looks like the issue is that I put an API Key I got from IMGIX into the Secure Token field in the ZQ plugin settings. You can find the Secure Token in the Sources tab of your IMGIX account. Once I’d put this 16 digit value into the Token field, the image processing worked. cc: @famlibine @Ecaterina Hope that helps!

On a related issue, I notice that some key adjustments do not appear to be supported in the plugin. For example, DPI, which is dots per inch, of course, and useful for print quality. Is this something that can be added? It seems like it would requires surfacing this parameter in the plugin as a field, and appending it to the URL, etc. So hopefully possible. Dots Per Inch | Format Parameters | imgix URL API Documentation

There are others I see too, like duo-tone processing. Are these likely to be implemented in the plugin? Thanks!

Ron

Hello, @ron
I’m happy to hear that this plugin is working now on your side.

As it is noted in the plugin description, to use this plugin you indeed need to sign up at https://www.imgix.com/ and obtain Imgix Web proxy Source’s Domain as well as the secure token.
So, this is an obligatory step for working with the plugin.

As for this, please note that we always improve our plugins, so we will take into consideration the ability to implement these in the new plugin updates. We need to see how feasible it will be.

Thank you :slightly_smiling_face:
Best regards,

Thanks, @Ecaterina.

Yes, I was aware of the need for an IMGIX account and web proxy source.

My error, to be clear, was in using an API key I found on the IMGIX site, rather than a Secret Token provided for in the Sources UI. Once I replaced the incorrect key, everything worked as expected.

Ron

1 Like

Hello, @ron

Indeed, here is the Secure Token required for the correct plugin performance.
In case any plugin-related questions will appears - let me know.

Best regards,