@cheesypoof Thanks for plugin, was needing to use imagemagick for some dominant colour placeholder generation and this is perfect.
Unfortunately, after installing as per instructions i get the following issues:
Any ideas?
cheers
gwil
[edit] Have got it to work with both jcropthumb and thumbnail (big increase in memory) but now have a strange situation...
The following template works fine if i add a page manually, but if i use the group upload and upload the same single image (with a different name) that i added manually, it silently fails. this only happens for large files, otherwise ok.
Is there another place i need to increase memory limit?
I've increased it to 640mb in timthumb.php
and
also in plupload/upload.php I've increased max file size to 5mb
Unfortunately, after installing as per instructions i get the following issues:
- with editable 'thumbnail' no thumbnail is displayed on save, when re-created says its done but still not displayed
- with editable 'jcropthumb' no thumbnail displayed on save, but does show when re-created
Any ideas?
cheers
gwil
[edit] Have got it to work with both jcropthumb and thumbnail (big increase in memory) but now have a strange situation...
The following template works fine if i add a page manually, but if i use the group upload and upload the same single image (with a different name) that i added manually, it silently fails. this only happens for large files, otherwise ok.
- Code: Select all
<?php require_once( 'c/cms.php' ); ?> <cms:template title='Gallery' clonable='1' dynamic_folders='1' gallery='1'> <cms:hide> <!-- main image group --> </cms:hide> <cms:editable order='100' name='image' label="Library Image details" desc="High quality reference image" type='group' /> <cms:editable group='image' order='110' name='gg_image' label='Image' desc='Upload your main image here (should be at least 1920px wide)' width='1920' show_preview='1' preview_height='200' type='image' quality='100' /> <cms:editable group='image' order='120' name='g_desc' label='Description' height='60' type='textarea' /> <cms:editable group='image' order='130' name='gg_thumb' label='Thumbnail 1' desc='System used thumbnail of image above' width='115' height='115' enforce_max='1' assoc_field='gg_image' show_preview='1' type='thumbnail' /> <cms:hide> <!-- thumbnails group --> </cms:hide> <cms:editable order='500' name='thumbs' label="Responsive Images" desc="Images shown on site" type='group' /> <cms:editable group='thumbs' order='510' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_1920' width='1920' show_preview='1' preview_width='480' label='Responsive Image 1' desc='Main Image (1920px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='520' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_1600' width='1600' show_preview='1' preview_width='400' label='Responsive Image 2' desc='(1600px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='530' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_1280' width='1280' show_preview='1' preview_width='320' label='Responsive Image 3' desc='(1280px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='540' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_960' width='960' show_preview='1' preview_width='240' label='Responsive Image 4' desc='(960px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='550' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_800' width='800' show_preview='1' preview_width='200' label='Responsive Image 5' desc='(800px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='560' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_640' width='640' show_preview='1' preview_width='160' label='Responsive Image 6' desc='(640px wide) [preview 1/4 size]' /> <cms:editable group='thumbs' order='570' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_320' width='320' show_preview='1' preview_width='160' label='Responsive Image 7' desc='(320px wide) [preview 1/2 size]' /> <cms:editable group='thumbs' order='580' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_160' width='160' show_preview='1' preview_width='160' label='Responsive Image 8' desc='(160px wide) [preview full size]' /> <cms:editable group='thumbs' order='590' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_80' width='80' show_preview='1' preview_width='80' label='Responsive Image 9' desc='(80px wide) [preview full size]' /> <cms:editable group='thumbs' order='600' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_660' width='660' show_preview='1' preview_width='330' label='Responsive Image 10' desc='(660px wide) [preview 1/2 size]' /> <cms:editable group='thumbs' order='610' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_440' width='440' show_preview='1' preview_width='220' label='Responsive Image 11' desc='(440px wide) [preview 1/2 size]' /> <cms:editable group='thumbs' order='620' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_330' width='330' show_preview='1' preview_width='165' label='Responsive Image 12' desc='(330px wide) [preview 1/2 size]' /> <cms:editable group='thumbs' order='630' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_220' width='220' show_preview='1' preview_width='110' label='Responsive Image 13' desc='(220px wide) [preview 1/2 size]' /> <cms:editable group='thumbs' order='640' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_110' width='110' show_preview='1' preview_width='110' label='Responsive Image 14' desc='(110px wide) [preview full size]' /> <cms:editable group='thumbs' order='650' type='jcropthumb' assoc_field='gg_image' enforce_max='1' quality='41' name='g_thumb_64' width='64' height='64' show_preview='1' preview_width='64' label='Responsive Image 15' desc='Icon Image (64px wide) [preview full size]' /> </cms:template>
Is there another place i need to increase memory limit?
I've increased it to 640mb in timthumb.php
- Code: Select all
ini_set('memory_limit', '640M');
and
- Code: Select all
exec(K_IMAGEMAGICK_PATH . " -monitor -limit memory 640mb -limit map 512mb -format {$format}{$transparent} {$src} -thumbnail {$crop}{$jpg} {$dest}");
also in plupload/upload.php I've increased max file size to 5mb