<p>Usually the effects work fine for me, are there are server requirements to get them working that I have missed? or is the template code below incorrect?</p>

<pre><code>{% for block in entry.clientLogos %}
    {% for image in block.clientLogo %}
        {% set logoImages = craft.imager.transformImage(image, 
        { width: 210, height: 90, mode: 'crop', position: 'center-center', jpegQuality: 90, effects: { grayscale: true, gamma: 1.5 } } 
        ) %}
        &lt;img src="{{ image.url(logoImages) }}" alt="{{ block.clientTitle }}" title="{{ block.clientTitle }}"/&gt;
    {% endfor %}
{% endfor %}
</code></pre>

CC BY-SA 3.0
2017-09-14T15:37:04.840Z
What does "not working" mean? No image? One that 404s? Any related errors in browser's console and/or `craft/storage/runtime/logs`?
Brad Bell
CC BY-SA 3.0
2017-09-14T16:21:44.727Z
Hi Brad. No errors, the image appears transformed but without the effect. So image dimensions and cropping is working but not the effects.
Mark
CC BY-SA 3.0
2017-09-14T20:25:16.170Z
Any errors on the log files?
Brad Bell
CC BY-SA 3.0
2017-09-15T12:31:20.113Z
Nothing that I can see.. The same snippet of template code works on another site perfectly..
Mark
CC BY-SA 3.0
2017-09-15T19:04:02.207Z
Is the other site on the same box? If it's different, maybe it's a difference in imagick/GD between the boxes?
Brad Bell
<plugins><image-transforms><plugin-imager>
Imager Effects not working
# Imager Effects not working

(Asked by: username_0 on 2017-09-14)

Usually the effects work fine for me, are there are server requirements to get them working that I have missed? or is the template code below incorrect?
{% for block in entry.clientLogos %}
    {% for image in block.clientLogo %}
        {% set logoImages = craft.imager.transformImage(image, 
        { width: 210, height: 90, mode: 'crop', position: 'center-center', jpegQuality: 90, effects: { grayscale: true, gamma: 1.5 } } 
        ) %}
        
    {% endfor %}
{% endfor %}

**Tags:** plugins, image-transforms, plugin-imager

> **Comments:**
> **username_1**: What does "not working" mean? No image? One that 404s? Any related errors in browser's console and/or `craft/storage/runtime/logs`?  
> **username_0**: Hi Brad. No errors, the image appears transformed but without the effect. So image dimensions and cropping is working but not the effects.  
> **username_1**: Any errors on the log files?  
> **username_0**: Nothing that I can see.. The same snippet of template code works on another site perfectly..  
> **username_1**: Is the other site on the same box? If it's different, maybe it's a difference in imagick/GD between the boxes?  

---

## 0 answers

