• Resolved rongenius757

    (@rongenius757)


    The photo that I upload to my message is being received by my subscribers as a link in the body of the message instead of being received as a photo image. Is there a way to make it so that a sent photo is received as a photo image instead of as a link? I just want to send a photo image to my subscribers, no text or links, just a photo image. I am using Twilio as my gateway.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Reza

    (@reventon94)

    Hi,

    I hope you’re doing well.

    Do you upload the image via the upload button on the Send SMS page?

    Best Regards

    Thread Starter rongenius757

    (@rongenius757)

    I upload the image via the upload button on the Send SMS page. Here is the entire problem after more testing:

    THE PROBLEM
    After more research in the knowledge documents and forum at Twilio.com I learned that “media conversion” (turning attached media to a link inserted in the body of the message) is done automatically by Twilio if the option is cut on by me in my Twilio account and it is needed to help a mms successfully send. Some carriers, for their own reasons, will not allow mms with media attached in the way your plugin attaches media. When this occurs, if media conversion is not enabled in my Twilio account, then Twilio will not send the message or media attached and will instead return a 404 error to my Twilio logs and to your plugin’s outbox; this is true, I got a 404 send error in your plugin’s outbox and in my Twilio logs when I turned off media conversion in my Twilio account and attempted to use your plugin to send a previously successfully sent mms with the same media file attached using the upload button in your plugin (previously the same message was successfully sent by your plugin when the same media was attached using the upload button in your plugin and media conversion was cut on in my Twilio account; the message was successfully sent with the attached media converting to a link inserted in the body of the message).

    When I cut media conversion on in my Twilio account and attempted to send the same mms message again with your plugin with the same media attached to the message using the upload button in your plugin, the message successfully sent with Twilio converting the attached media to a link (url to the media file) inserted in the body of the message.

    The mobile phone number I am sending these test messages to with media attached by upload button in your plugin is my mobile phone number and usually when people send me photos (mms) from their mobile phone number to my mobile phone number, the picture fully appears in the body of the message, not a link to the picture like what is happening with your plugin and Twilio.

    MY QUESTION
    Is there anyway your plugin can format the mms message in a way so that it can be sent by Twilio as a mms message that is received with the picture fully showing in the body of the message? Using the upload button in your plugin to attach media to a message creates a mms message that causes the message not to be able to be sent by Twilio to my mobile phone number if media conversion is not enabled in my Twilio account.

    Reza

    (@reventon94)

    Hi,

    I hope you have a great week, and thanks for the provided information.

    Twilio only accepts media that are sent through a request to its API. This request must be contained some parameters. One of them is the media. So, we must follow Twilio instructions to send messages successfully, and we cannot change our codes. The conversion of the media to links occurs on the Twilio side, and we cannot do anything about it.

    Please feel free to contact me whenever you need assistance.

    Best Regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Photo received as link????’ is closed to new replies.