Hi, Thank you for your prompt reply. No, the image data is not embedded to executable. After testing, i found out that now i'm able to display image using the first option. "You can let mongoose send image data. In this case, set "document_root" option and place image file into the document root. Return 0 from begin_request() when image URI is requested/" Is there any other alternative ? Thank you. ~~sam
On Tuesday, February 18, 2014 3:56:50 PM UTC+8, Sergey Lyubka wrote: > Hi Sam, > are you embedding image data directly into the executable? > > Sergey > > > On Tue, Feb 18, 2014 at 2:46 AM, Sam Kunun <[email protected]<javascript:> > > wrote: > >> Hello, >> >> Sorry to dig old thread. >> I'm having the same problem on Mongoose 5.2, where I'm not able to >> display images in html pages. >> I'm embedding it in C code, and it seems, mg_send_file is no longer >> available. >> What is the alternative of mg_send_file to display images ? >> >> Thank you. >> >> On Saturday, October 5, 2013 3:44:09 PM UTC+8, Panchali Gupta wrote: >> >>> >>> Thanks a ton!!!! The following code finally worked: >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "mongoose-users" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected]<javascript:> >> . >> Visit this group at http://groups.google.com/group/mongoose-users. >> For more options, visit https://groups.google.com/groups/opt_out. >> > > -- You received this message because you are subscribed to the Google Groups "mongoose-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mongoose-users. For more options, visit https://groups.google.com/groups/opt_out.
