Sign in to follow this  
wayne

how to show the image in html img tag

Recommended Posts

Hi, there~

 

I am working in a project need some features. A img tag could be used like this

 

image.php

 

The php page is like "FusionChartsSave.php" used GD lib to make image. How could I direct used FusionChartsSave.php to show the chart image? Could do that?

 

The saveAsImage() feature would be pop a dialog let user choose open or save. It's not my requirement. I need direct show the image in the page and don't need save image before.

 

 

 

Regards!!

 

 

 

wayne

Share this post


Link to post
Share on other sites

Hi,

  I am afraid it is not possible as of now. You have to save image as temporary image file after that you can show it via <image> tag.

Edited by Guest

Share this post


Link to post
Share on other sites

Is there any way to disable the refreshing of the page that is happening inside saveAsImage()?

 

 

 

EDIT: After looking at the source, this can be done by using FlashVars.sendAndLoad() instead of FlashVars.send(). Will this be integrated?

Edited by Guest

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this