inggarcia Report post Posted June 6, 2012 Good day, When i want to export a chart to pdf works fine but when export to jpg or png i can download the file but i cant open it. I have enable the gd library in my php and for the gzip the options in my php are: Content-Encoding = gzip Accept-Encoding = gzip, deflate So i belive that i have everything installed. What could be the problem? Thanks P.D. Sorry for my bad english Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted June 11, 2012 Hi, Could you please enable the Firebug and try exporting the chart image from Firefox browser and provide the Firebug console output? Awaiting your response! Share this post Link to post Share on other sites
inggarcia Report post Posted June 11, 2012 Hi, I attach the image with the Firebug console output Thanks Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted June 13, 2012 Hi, With regard to your issue, could you please check the followings? 1. Please find the attached sample of exporting chart image using PHP, where the chart image is saving in "exportedImages" folder. You need to edit and provide the correct path in XML (..//charts/columndata.xml) and FCExporter.php (..//ExportHandlers/PHP/FCExporter.php) as per your server settings to run the sample from your side. 2. From the attachment it seems it is not the problem with FusionCharts files. So could you please confirm once if you have GD Library installed in your server by using the below code snippet? Code Snippet: <?php if (extension_loaded('gd') && function_exists('gd_info')) { echo "It looks like GD is installed"; } ?> 3. If the above not helps, please send us the sample code to test from our end. Awaiting your response! Export_Chart_image_to_Server_using_PHP.zip Share this post Link to post Share on other sites
inggarcia Report post Posted June 14, 2012 Hi, I used the example but i didnt work. I attach my code like you asked me. Thanks samplecode.php Share this post Link to post Share on other sites
Guest Sashibhusan Report post Posted June 18, 2012 Hi, The code snippet attached, seems to be fine. So, could you please provide us the live URL or the entire project as ZIP file (including all SWF, JavaScript and PHP files), to better investigate your issue? Awaiting your response! Share this post Link to post Share on other sites