<p>I'm running <strong>Craft 2</strong> with <strong>PHP 5.6.40</strong> on a <strong>Windows 2019 Server</strong> under <strong>IIS (x64, non-thread-safe, FastCGI)</strong>.
<code>PHP -m</code> doesn't show any issues with my extensions, regardless if I use <strong>GD2</strong> or <strong>ImageMagick</strong>.
But if I have either extension enabled, then I get this processing / loading spinner where the images should be rendered if Craft was applying my Transformations:</p>
<p><a href="https://i.sstatic.net/CzngK.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/CzngK.png" alt="Processing Spinner" /></a></p>
<p>I realized my <strong>php.ini</strong> had the defaults for <strong>max_execution_time</strong> = 30 and <strong>memory_limit</strong> = 128M. I bumped them up to Craft's minimum recommendations of: <strong>max_execution_time</strong> = 120 and <strong>memory_limit</strong> = 256M. When that didn't work, I even tried <strong>max_execution_time</strong> = 0 and <strong>memory_limit</strong> = 1G. Still no luck, regardless if I used <strong>GD2</strong> or <strong>ImageMagick</strong>.</p>
<p>If I disable both extensions, the processing spinner goes away and my images load untransformed. They are really big images, about 7 MB file sizes that are about 8,000 pixels width by 4,000 pixels height.</p>
<p>I also noticed that if I have <strong>GD2</strong> or <strong>ImageMagick</strong> enabled, and the spinner is loading, the request transformation Task hangs (infinitely?) in the database's &quot;<strong>craft_tasks</strong>&quot; table.</p>
<p>Is there some other setting I could be missing in my <strong>php.ini</strong> configuration file?</p>
<p><strong>UPDATE:</strong> I receive the following error in my Craft logs (no errors in my web server though), regardless if I have GD2 / ImageMagick enabled or not. So not sure if it's relevant? (It's the only error in the logs.)</p>
<pre><code>2020/10/30 12:53:58 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in D:\Websites\MyWebsite.us\craft\app\controllers\TemplatesController.php:72
Stack trace:
#0 [internal function]: Craft\TemplatesController-&gt;actionRender('FPURL.xml', Array)
#1 D:\Websites\MyWebsite.us\craft\app\framework\web\actions\CAction.php(109): ReflectionMethod-&gt;invokeArgs(Object(Craft\TemplatesController), Array)
#2 D:\Websites\MyWebsite.us\craft\app\framework\web\actions\CInlineAction.php(47): CAction-&gt;runWithParamsInternal(Object(Craft\TemplatesController), Object(ReflectionMethod), Array)
#3 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(308): CInlineAction-&gt;runWithParams(Array)
#4 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(286): CController-&gt;runAction(Object(CInlineAction))
#5 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(265): CController-&gt;runActionWithFilters(Object(CInlineAction), Array)
#6 D:\Websites\MyWebsite.us\craft\app\framework\web\CWebApplication.php(282): CController-&gt;run('render')
#7 D:\Websites\MyWebsite.us\craft\app\framework\web\CWebApplication.php(141): CWebApplication-&gt;runController('templates/rende...')
#8 D:\Websites\MyWebsite.us\craft\app\etc\web\WebApp.php(290): CWebApplication-&gt;processRequest()
#9 D:\Websites\MyWebsite.us\craft\app\framework\base\CApplication.php(185): Craft\WebApp-&gt;processRequest()
#10 D:\Websites\MyWebsite.us\craft\app\index.php(62): CApplication-&gt;run()
#11 D:\Websites\MyWebsite.us\public_html\index.php(46): require_once('D:\\Websites\\MyW...')
#12 {main}
REQUEST_URI=/FPURL.xml
</code></pre>

CC BY-SA 4.0
2020-10-30T03:07:55.190Z
Regardless of which one you're using, I'd start by trying to figure out why they're failing. That'll either be in Craft's logs (`craft/storage/runtime` on Craft 2) or your web server's error logs.
Brad Bell
CC BY-SA 4.0
2020-10-30T12:57:47.227Z
@BradBell So my web server's log doesn't show anything, but the Craft logs you mentioned does show an error (regardless if I have GD2 / ImageMagick enabled or not). I was initially ignoring it thinking it wasn't relevant but I just updated my question post with the error. Does it sound like it could be related?
J.D.
<image-transforms><craft2><imagick><windows><gd>
Why do image Transformations never finish rendering regardless if I use GD2 or ImageMagick?
# Why do image Transformations never finish rendering regardless if I use GD2 or ImageMagick?

(Asked by: username_0 on 2020-10-29)

I'm running Craft 2 with PHP 5.6.40 on a Windows 2019 Server under IIS (x64, non-thread-safe, FastCGI).
PHP -m doesn't show any issues with my extensions, regardless if I use GD2 or ImageMagick.
But if I have either extension enabled, then I get this processing / loading spinner where the images should be rendered if Craft was applying my Transformations:

I realized my php.ini had the defaults for max_execution_time = 30 and memory_limit = 128M. I bumped them up to Craft's minimum recommendations of: max_execution_time = 120 and memory_limit = 256M. When that didn't work, I even tried max_execution_time = 0 and memory_limit = 1G. Still no luck, regardless if I used GD2 or ImageMagick.
If I disable both extensions, the processing spinner goes away and my images load untransformed. They are really big images, about 7 MB file sizes that are about 8,000 pixels width by 4,000 pixels height.
I also noticed that if I have GD2 or ImageMagick enabled, and the spinner is loading, the request transformation Task hangs (infinitely?) in the database's "craft_tasks" table.
Is there some other setting I could be missing in my php.ini configuration file?
UPDATE: I receive the following error in my Craft logs (no errors in my web server though), regardless if I have GD2 / ImageMagick enabled or not. So not sure if it's relevant? (It's the only error in the logs.)
2020/10/30 12:53:58 [error] [exception.Craft\HttpException.404] exception 'Craft\HttpException' in D:\Websites\MyWebsite.us\craft\app\controllers\TemplatesController.php:72
Stack trace:
#0 [internal function]: Craft\TemplatesController->actionRender('FPURL.xml', Array)
#1 D:\Websites\MyWebsite.us\craft\app\framework\web\actions\CAction.php(109): ReflectionMethod->invokeArgs(Object(Craft\TemplatesController), Array)
#2 D:\Websites\MyWebsite.us\craft\app\framework\web\actions\CInlineAction.php(47): CAction->runWithParamsInternal(Object(Craft\TemplatesController), Object(ReflectionMethod), Array)
#3 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(308): CInlineAction->runWithParams(Array)
#4 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(286): CController->runAction(Object(CInlineAction))
#5 D:\Websites\MyWebsite.us\craft\app\framework\web\CController.php(265): CController->runActionWithFilters(Object(CInlineAction), Array)
#6 D:\Websites\MyWebsite.us\craft\app\framework\web\CWebApplication.php(282): CController->run('render')
#7 D:\Websites\MyWebsite.us\craft\app\framework\web\CWebApplication.php(141): CWebApplication->runController('templates/rende...')
#8 D:\Websites\MyWebsite.us\craft\app\etc\web\WebApp.php(290): CWebApplication->processRequest()
#9 D:\Websites\MyWebsite.us\craft\app\framework\base\CApplication.php(185): Craft\WebApp->processRequest()
#10 D:\Websites\MyWebsite.us\craft\app\index.php(62): CApplication->run()
#11 D:\Websites\MyWebsite.us\public_html\index.php(46): require_once('D:\\Websites\\MyW...')
#12 {main}
REQUEST_URI=/FPURL.xml

**Tags:** image-transforms, craft2, imagick, windows, gd

> **Comments:**
> **username_1**: Regardless of which one you're using, I'd start by trying to figure out why they're failing. That'll either be in Craft's logs (`craft/storage/runtime` on Craft 2) or your web server's error logs.  
> **username_0**: @BradBell So my web server's log doesn't show anything, but the Craft logs you mentioned does show an error (regardless if I have GD2 / ImageMagick enabled or not). I was initially ignoring it thinking it wasn't relevant but I just updated my question post with the error. Does it sound like it could be related?  

---

## 0 answers

