Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

Re: serving an image with dancer and GD

by Corion (Pope)
on Jul 31, 2013 at 18:20 UTC ( #1047302=note: print w/replies, xml ) Need Help??

in reply to serving an image with dancer and GD

send_file wants to send a file, which must exist on disk, with a name, on the server. You maybe just want to return $im->png as the result of the request?

Also, what is DISPLAY supposed to be/do? I recommend using lexical filehandles over using global filehandles.

Replies are listed 'Best First'.
Re^2: serving an image with dancer and GD
by Anonymous Monk on Aug 01, 2013 at 08:06 UTC

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1047302]
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2018-01-16 20:40 GMT
Find Nodes?
    Voting Booth?
    How did you see in the new year?

    Results (191 votes). Check out past polls.