Send image via script

Send image via script SearchSearch
Author Message
Mathew A.
New member
Username: Mathew

Post Number: 1
Registered: 12-2004
Posted on Monday, December 27, 2004 - 09:24 am:   

Hi,
I have links to images in a SQL server 2000 db.
these images reside on my harddisk c:\images\124.gif

If a user sends a particular code associated with the image via sms, I will lookup the imagelink via an asp page and then I need to submit the image to the mobile user as a multimedia wap push so that they can download the image
All this has to be done without user intervention.
I have seen a php example but can I get an ASP.net example for this? The usermobile and file links are all dynamically provided.
Getting the image link is easy...but how do I post it automatically without requiring username/password? I also want to enable dynamic links and forward lock
This will work to distribute wallpaper content
Anyone can help out?
Thanks
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3844
Registered: 10-2002
Posted on Friday, December 31, 2004 - 09:36 pm:   

Can you configure a web server that can serve objects from this "c:\images" directory?

If so, then you can send an HTTP GET request to NowSMS and tell it to fetch the image from a URL.

We just don't allow you to fetch images via a local filename reference for security reasons.

See the HTTP GET example at the bottom of the following page:

http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages_URL.htm
Mathew A.
New member
Username: Mathew

Post Number: 12
Registered: 12-2004
Posted on Sunday, January 09, 2005 - 04:56 am:   

Ok,
another issue, since wap multimedia push sends links of only one image, and then uses the uaprof to determine dimensions for scaling, ultimately it will resize the original image to suit the connecting device, right?
How do I modify the push and retrieval so that first nowsms sends a link with a standard image size of 128x128. Then depending on the connecting profile it can choose from 3 different formats of the same image in the same directory?
Is that feasible? How do wap sites deliver using this?
Thanks