[AstroPy] Astropy Web

Ewald Zietsman ewald.zietsman at gmail.com
Mon Oct 6 14:53:59 EDT 2014


It looks like you're return an AxesImage object to the page template instead of an image format the browser can understand. You need to change that object into a png or jpg then return that as part of the page view.

Maybe if you can share a code snippet we can help.


On 06 Oct 2014, at 8:31 PM, GUIBERT LUCAS <lucas.guibert at viacesi.fr> wrote:

> ​Hello everybody.
> 
> I'm working on a Web Project and I need Astropy working on a web browser. I'm also using Django.
> 
> My question is, after reading all this tutorial (http://www.astropy.org/astropy-tutorials/FITS-images.html), I can't have the image on my browser...
> 
> I have only "AxesImage(80,48;317.44x384) ​"
> 
> If someone know something...
> 
> Thanks !
> 
> Lucas
> _______________________________________________
> AstroPy mailing list
> AstroPy at scipy.org
> http://mail.scipy.org/mailman/listinfo/astropy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/astropy/attachments/20141006/b6b21229/attachment.html>


More information about the AstroPy mailing list