I'm struggling to get CE Image to work on my install. I'm on a Windows server and have made the 'images/made' and 'images/remote' folders and given full control to everyone to make them writable.
However, when I include the tag pair in my template, it's as if CE Image isn't doing anything. Here's my template code:
<?php
if("{cf_recipes_size}" == "tiny" or "{cf_beers_size}" == "tiny")
{
$imgWidth = "270";
$imgHeight = "270";
}
else if("{cf_recipes_size}" == "vert" or "{cf_beers_size}" == "vert")
{
$imgWidth = "270";
$imgHeight = "540";
}
else if("{cf_recipes_size}" == "hori" or "{cf_beers_size}" == "hori")
{
$imgWidth = "540";
$imgHeight = "270";
}
else if("{cf_recipes_size}" == "big" or "{cf_beers_size}" == "big")
{
$imgWidth = "540";
$imgHeight = "540";
}
?>
{exp:ce_img:pair src="{cf_recipes_image}"}
<img src="{made}" alt="" width="<?php echo $imgWidth; ?>px" height="<?php echo $imgHeight; ?>px" />
{/exp:ce_img:pair}
I've turned on template debugging but there's nothing there to suggest that the directories can't be created. the URL generated from the {made} tag is just the source URL of the uploaded image (via a standard EE file control for a custom field).
The output is
<img src="/assets/desserts/orange.png" alt="" width="540px" height="540px" />
Any ideas why this isn't working?