Issues with picture and image transforms I'm having some issues with  when applying image transforms. Hopefully it's something obvious I'm over looking. The code is as follows:

&lt;picture&gt;
    &lt;source media="(min-width: 401px)" srcset="{{ imageUrl.getUrl('homeBanner') }}"&gt;
    &lt;source media="(max-width: 400px)" srcset="{{ imageUrl.getUrl('iphone400x710') }}"&gt;
    &lt;source srcset="{{ imageUrl.getUrl('iphone400x710') }}"&gt;
    &lt;img src="{{ imageUrl.getUrl('iphone400x710') }}" alt="Image Desc"&gt;
&lt;/picture&gt;


Images uploaded are all 2000px x 1330px and the transform should crop from center to the specified size in the handle.

My problem is it works on my local server but once uploaded to my (shared) dev server I am getting php out of memory errors on this script 

craft/app/vendor/imagine/imagine/lib/Imagine/Gd/Image.php on line 617

Am I doing something incorrectly that is causing the script to run for too long?

Cheers
You might try putting putting something like:

&lt;IfModule mod_php5.c&gt;
  php_value max_execution_time "30" 
  php_value memory_limit "256M"
&lt;/IfModule&gt; 


inside your .htaccess. file. 

You can tell what your PHP values are right inside Craft... unless you changed your admin trigger, just visit http://server/admin/utils/phpinfo and search for memory_limit and max_execution_time. That'll give you some clues as to what's going on.

Some hosts set these values really low but the default execution time is 30 and memory limit is 128M.

If you run PHP as a cgi, some hosts allow you to use ini files in lieu of .htaccess. Typically these are at the root of your home folder but they could be stored elsewhere. Put memory_limit = 256M in one and throw it up in your home folder. Running php_info() would tell you the location of the current in use one.