Cannot open the downloaded Image
FusionCharts Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Cannot open the downloaded Image Expand / Collapse
Author
Message
Posted 5/30/2008 5:12:20 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/27/2008 5:04:59 AM
Posts: 4, Visits: 9
Hi,

I've downloaded the evaluation version today and tried to create Pie3D chart with image downloadable option using jsp.
The Pie3D chart can display and download successfully, but the downloaded image cannot open with image viewer program.

Below is my development environment
- JDK 1.5.0.15
- BEA weblogic 10

*** Note that I used original FusionChartsSave.jsp from folder \ImageSaving ***

The attached file is my generated HTML code

Thanks,
Ken


  Post Attachments 
myTestPieChart.txt (5 views, 1.20 KB)
Post #6497
Posted 6/3/2008 11:01:19 AM
FusionCharts Team

FusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts TeamFusionCharts Team

Group: Administrators
Last Login: 2 days ago @ 8:20:12 AM
Posts: 2,194, Visits: 521
Hi Ken,

Is the chart exporting as image on the first hand?


Thanks,
Pallav Nadhani
FusionCharts Team
Post #6576
Posted 6/3/2008 8:12:28 PM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/27/2008 5:04:59 AM
Posts: 4, Visits: 9
Pallav (6/3/2008)
Hi Ken,

Is the chart exporting as image on the first hand?

Hi,

I'm not sure I understand what does "Is the chart exporting as image on the first hand?" mean, but here is the scenarios I've done with

  1. Made a http request to servlet.
  2. Created XML data and stored in session.
  3. Forwarded the request to jsp to display Pie3D chart using XML data in session.
  4. Pie3D chart was displayed successfully.
  5. Right clicked on the chart an selected "Save as image".
  6. Image was downloaded successfully.
  7. Opened the downloaded image with Windows Picture Viewer.
  8. Got message "No preview available".

This is my development environment

  • Windows XP
  • JDK 5.0
  • BEA Weblogic 10
  • IE7

I also tested this in Firefox, but still got the same result.

Thanks,

Ken

Post #6608
Posted 6/3/2008 11:49:59 PM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885, Visits: 1,422
Hi,

Could you please make sure that the Image is being Downloaded Successfully at step 6?

If you are using the original jsp image savinf script from the Download Pack, it would prompt to show/save the image.

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6610
Posted 6/4/2008 4:21:17 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 11/27/2008 5:04:59 AM
Posts: 4, Visits: 9
Sudipto Choudhury (6/3/2008)
Hi,

Could you please make sure that the Image is being Downloaded Successfully at step 6?

If you are using the original jsp image savinf script from the Download Pack, it would prompt to show/save the image.

Yes, the browser popup the dialog to show/sace image. I can download the image without problem (the download status bar was shown on the chart), but the downloaded image cannot display using image viewer program.

Do I have to setup any additional configurations?

Anyway, could you provide me the original saving script for JSP? I will compare it with the version I've downloaded

Thanks,
Ken

Post #6617
Posted 6/10/2008 2:53:33 AM
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Moderators
Last Login: Today @ 4:19:22 AM
Posts: 885, Visits: 1,422
Hi,

Coudl you please download the script from the Download Pack from www.fusioncharts.com/download.asp?

Regards,

Sudipto Choudhury
FusionCharts Team

Post #6713
Posted 10/8/2008 10:45:43 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/9/2008 11:18:52 AM
Posts: 3, Visits: 12
I have same problem. The image is corrupt after saving.

I'm using java 1.4.2 weblogic 8 and the downloaded script FusionChartsSave.jsp from the latest version.
Post #9101
Posted 10/9/2008 3:31:13 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 10/9/2008 11:18:52 AM
Posts: 3, Visits: 12
It looks like a bug in FusionChartsSave.jsp, because the data is being sent in the request, but the created image file can't be opened in browsers or ms image viewer.
Post #9114