concrete5 wont let me create an image thumbnail
Permalink
Hi,
I am using the get thumbnail function. when i use it and specify the size of the image it exists the page. no error message, it just stops rendering.
The image is valid and is 3 mb in size. Please can someone shed some light. I have been searching the forums and cannot find any similar issues....
Thanks in advance
I am using the get thumbnail function. when i use it and specify the size of the image it exists the page. no error message, it just stops rendering.
The image is valid and is 3 mb in size. Please can someone shed some light. I have been searching the forums and cannot find any similar issues....
Thanks in advance
$imgHelper = Loader::helper('image'); $imageF = $page->getAttribute('boat_main_image'); if (isset($imageF)) { $image = $imgHelper->getThumbnail($imageF, 200,120)->src; } <?php echo '<img src="'.$image.'" style="float:left; margin-right: 15px;" class="thumbnail" alt="news_image"/>'; ?>
i have never getting such problem. thumnail generating is working find for me at a defined size, loading is quick and fluent. here is what i have been doing with my images.
http://www.rasteredge.com/how-to/vb-net-imaging/thumbnail-creating/...
http://www.rasteredge.com/how-to/vb-net-imaging/imaging-processing/...
http://www.rasteredge.com/how-to/vb-net-imaging/thumbnail-creating/...
http://www.rasteredge.com/how-to/vb-net-imaging/imaging-processing/...
IE. add "ini_set('memory_limit', '128M');" to your view.php