Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7623693
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T04:46:07+00:00 2026-05-31T04:46:07+00:00

We are building a browser extension that makes a call to a RESTful webservice

  • 0

We are building a browser extension that makes a call to a RESTful webservice that returns HTML and places this HTML into the Compose box of GMAIL. The issue we are running into is with images. We want the images to be placed directly into GMail as opposed to linking to a URL on our server. Anyone have an idea on how we could approach this problem?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T04:46:08+00:00Added an answer on May 31, 2026 at 4:46 am

    Put the image data right in the tag as follows:

    <img src="data:image/gif;base64,R0lGODlhEAAO..." />
    

    Effectively all your doing is taking the binary data, base64 encoding it, and then just putting it right on the tag. The client will recognize that it doesn’t need to make a request for the image, but rather just render the data given in the tag.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm building a browser extension that will insert a chunk of HTML into some
We're using Grails for building RESTful services which we'll call from browser clients using
I am building a web application that needs to print directly from browser, however,
I am building my first chrome extension, for that I want to have some
I'm building a Firefox Extension that, among other things, needs to replace body background
I am building an extension for Chrome browser. I wish to be able to
I am building an application which has requirements stating that all browser features must
I'm doing some investigation into options for an app I am building. Do browser
I have a question that's somewhat of an extension of this thread . I
Okay, I'm building an extension like so: has a browseraction which invokes a popup.html

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.