All Questions

Tagged with
Filter by
Sorted by
Tagged with
83 votes
6 answers
225k views

How to embed images in email

I need to embed an image in e-mail. How do I do it? I do not want to use third party tool, nor am I interested in language specific answer (but it is PHP, in case you are wondering). I am merely ...
Josef Sábl's user avatar
  • 7,661
69 votes
7 answers
156k views

Can I embed a .png image into an HTML page?

How can I embed a .png file into a blank "file.html" so that when you open that file in any browser you see that image? In this scenario, the image file is not linked to from the HTML, but ...
Rella's user avatar
  • 66k
26 votes
1 answer
36k views

Html - embed image directly in html (old school style)

I know you can embed images in html today with: <IMG SRC="data:image/gif;base64,RAAA...more data....."> But back in the day, when Netscape was a browser to implement for, there was another way ...
Stephane Grenier's user avatar
24 votes
3 answers
58k views

How to embed images in a single HTML / PHP file?

I am creating a lightweight, single-file database administration tool and I would like to bundle some small icons with it. What is the best way to embed images in a HTML/PHP file? I know a method ...
Tatu Ulmanen's user avatar
8 votes
2 answers
24k views

how to embed multiple images while sending html email using Java mail

I'm trying to send email from javamail. I'm embeding the images and using CID. But the problem is how do I embed multiple images in a single message. if I try to add in header.. it is just taking the ...
user57421's user avatar
  • 7,461
7 votes
2 answers
4k views

Embed images when converting from HTML with libreoffice

I'm using libreoffice in headless mode to convert HTML into various formats. For this question, we'll use docx for simplicity sake. I use a command similar to this: libreoffice --headless --...
user1052474's user avatar
6 votes
1 answer
9k views

How to send a png file embedded in a mail via command line on linux?

I was trying to send a png file in a body of an email via command line. I have been using the following command: uuencode file.png file.png| mail [email protected] but it attaches the file in the ...
Rahul Gupta's user avatar
5 votes
2 answers
20k views

AS3 Embed images class and then get these images into another class?

For example, right now I have a class called "Balls.as". Here I load 10 different balls-images. You know, like this: [Embed(source = "/ball1.png")] [Embed(source = "/ball2.png")] The problem is ...
user1941346's user avatar
5 votes
2 answers
49k views

Embed Image to Excel Spreadsheet - VBA

I need to embed an image to a spreadsheet via Excel VBA, such that whenever I relocate my excel file, the image will still show up. How can I do this?
RandomDude's user avatar
5 votes
2 answers
23k views

vba email embed image not showing

I have an odd experience here. I have had loads of problems embedding a logo or image to emails using the src=cid... found out it wont show if not setting size for example. I have an Access ...
John's user avatar
  • 121
4 votes
1 answer
5k views

Embedding an Image in a Tkinter Canvas widget using PIL

I'm trying to embed an image in a Tkinter canvas using PIL, and for some reason it's not displaying. Any Ideas? There are no errors or warnings. Just a blank Tk window. My code: import Tkinter ...
rectangletangle's user avatar
4 votes
1 answer
4k views

Use local file as set_thumbnail on embed in Discord.py

I want to post an embed with a thumbnail on it, with a local file on my PC. Whenever I try to run this code, the image is sent outside the embed. embedVar = discord.Embed(title="title", ...
Loboh67's user avatar
  • 53
4 votes
3 answers
2k views

phpmailer auto include local images

I'm currently busy with phpmailer and wondered how to automatically embed local images in my email using a script. My idea was to upload a html file and a folder containing images and let a script ...
Sjors Vanderbaan's user avatar
4 votes
1 answer
4k views

embed image in html and save for offline view (ie)

Is it possible to embed an image in my html code and make it avaible in offline mode. My goal is to create an html file without any other files associated with it. Thanks
Johan's user avatar
  • 35.3k
4 votes
0 answers
820 views

Embeded Images CID in Mailchimp

I am using mailchimp to send my companies newsletter. In outlook the images of my newsletter dont show up when i open them. I have to unblock them. Now i got a newsletter of another company and ...
public9nf's user avatar
  • 1,339
4 votes
1 answer
2k views

c# 4.0 how to add layer to an image

I want to embed some images to another image. This should be done as layers so transparency everything will be kept. Images are png. How can i do that ? This is like using pngout and adding extra ...
Furkan Gözükara's user avatar
3 votes
3 answers
5k views

Better way to include images in AS3 than embed?

I am putting together a Flash game (using Flixel) and I have a lot of sprites whose images (.png format, mostly) I need to include in my game. I'm used to using code like: [Embed(source = "../../lib/...
Mar's user avatar
  • 7,895
3 votes
2 answers
2k views

How can I embed large images in html documents?

I need to create an HTML file that will be stored on disk; later a user will attach this file to an email and send it to a user who will click on the file to have it display in their browser. My ...
John DMC's user avatar
3 votes
2 answers
565 views

Dynamically add image in middle of story

I'm displaying a story on a website, I would like to dynamically add an image within the story, how could I do that? I don't want to add it at the beginning of the story or at the end of the story, ...
John's user avatar
  • 10.1k
3 votes
0 answers
253 views

Embedding image's stored in private github repo into Markdown file

I have a private GitHub repo (https://github.com/UserName/Images/....) in which i am storing images / screenshots for a project i am working on within an Azure workbook. These workbooks within Azure ...
JackSec's user avatar
  • 31
2 votes
1 answer
1k views

Qt : how can i emmbed icons/images in the GUI in Qt framework?

how can i embed icons or images my application is using , i don't what to hold image directory in my application root , is there any valid method for that ?
user63898's user avatar
  • 30.4k
2 votes
2 answers
4k views

<embed> instead <img> tag HTML

I want to make a function that allows me to display an image or a swf, I noticed that the embed tag I can show both, I lnvestigated and got nothing about it, there is some downside in using it? ...
Daniel Zambrano's user avatar
2 votes
1 answer
5k views

Embed twitter feed with images [closed]

When embedding a twitter feed - what's the best way (if any) to display the image referenced in a tweet directly - not as a link to e.g. Twitpic? The image should be displayed as img, like in a blog ...
Urs's user avatar
  • 5,004
2 votes
2 answers
10k views

Embedding Image/Video Stream into webpage

I'm trying to create a PHP webpage that allow the visitor to see a video stream or an image coming from a webcam without allowing the visitors to grab it's original URL/URI. In other words, I have an ...
Power Engineering's user avatar
2 votes
1 answer
23k views

All kinds of document viewer in react

I want to make document viewer in react which shows document in same page as popup as that is used in slack web application? It should view all kind of document files. Can anyone guide me how to ...
Dipendra Hamal's user avatar
2 votes
1 answer
316 views

Is it possible to specify an image in a wxHtmlWindow that is contained within the executable?

I would like my executable to be self-contained. However, the wxHtmlWindow uses an image and it would be nice if the image could be stored inside the executable. Can this be done, and if so how?
Nathan Osman's user avatar
  • 72.3k
2 votes
2 answers
1k views

Embedding image in QWebView with JavaScript

I am writing a small application with Qt 4.6 (64-bit Arch Linux, though that shouldn't matter) which lets the user edit a document using a QWebView with contentEditable turned on. However, for some ...
gatlin's user avatar
  • 159
2 votes
1 answer
853 views

HTML: Embed binary images without base64 compression

I have a tool that generates "standalone" HTML pages, which include embedded images. I use binary representation of the images using base64 encoding and it works, but when there are a lot of such ...
SomethingSomething's user avatar
1 vote
3 answers
2k views

Is it possible to create dynamic embed function?

Is it possible to create dynamic embed function in ActionScript3 for example like this public function embedImage(path:String):Bitmap{ [Embed(source = path, mimeType = "image/png")]...
Vlad's user avatar
  • 2,767
1 vote
1 answer
1k views

include image in generated GD image

Is it possible to include an external image (gif, jpg or png) into a GD generated image? what I'm trying to do is get the latest wordpress blog post (like 5) and generate an image from it. I would ...
user avatar
1 vote
5 answers
10k views

How to embed a text link in an image?

How do I embed text in an image? The embedded text should be hyperlinked to an URL. The use case is like having an image with a link that says 'Click here' which opens a new page.
user avatar
1 vote
1 answer
177 views

Play sound and image

At the moment I'm developing a very simple page like "scary maze". I have 2 same images with tiny edits in photoshop. The person must find 3 differences to jump to the next level. The trick is when he ...
Reteras Remus's user avatar
1 vote
3 answers
10k views

How to display image in html email message?

I'm writing a j2ee application, that generates an html and sends it as email. In my html, a have an image, but it is not displayed when email is received. The html code is something like: <img src=...
brain_damage's user avatar
1 vote
3 answers
713 views

Embed Image into own file

I have edited this question to make it easier to understand. I have an image file and I have to store the image data into an existing file in binary. And when that file gets opened in my program ...
jay_t55's user avatar
  • 11.5k
1 vote
1 answer
863 views

tapestry display blob using markup

I have saved blob image in db, using this component I wish to embed blob from mysql to tag in tapestry. I have found this on the net. Do not understand how writer.element works I think something ...
nkvnkv's user avatar
  • 944
1 vote
1 answer
517 views

Changing the position of an image inside another image

I need your help please. I'm working in Matlab and I have tow images one with size 256*256 and the other one with size 64*64. I want to embed the small image into the first one but i would like to ...
Youssi's user avatar
  • 63
1 vote
2 answers
5k views

How do I embed a URL in an image in HTML?

I'm looking to be able to click on an image and for it to redirect me to another html page. This page is not stored in the website directory root. I tried the following code, but got a 404 error. <...
Tyler Montney's user avatar
1 vote
1 answer
1k views

How to embed multiple images in email HTML using Python

I have a list of 15 .jpg images saved in one folder. I want all of them to be embedded in the body of an email. My first approach was to vertically stack them to one long image and embed the single ...
Pat's user avatar
  • 1,309
1 vote
2 answers
2k views

Embed and resize image in Excel maintaining aspect ratio

I'm trying to write a VBA macro for Excel to embed and resize an image maintaining aspect ratio. I'd like to embed rather than link so Excel file can be shared between computers. I have 2 pieces of ...
Gareth's user avatar
  • 21
1 vote
2 answers
3k views

VBA download and embed images using url from adjacent cell

I've attempted the solution in the following. Inserting an Online Picture to Excel with VBA Unfortunately I get a run-time error '1004' "Unable to get the Insert property of the Picture class" which ...
LangerFeen's user avatar
1 vote
1 answer
60 views

How convert an image in a code understood by browsers

I would like to convert an entire image into it hex code for example and them embed it into an html document for display. I know it can be done with vectors (svg for example), the problem is that ...
electronixG's user avatar
1 vote
1 answer
1k views

How to embed images to the html body of an email using the java library Jodd Email?

At the main page of the Jodd email library http://jodd.org/doc/email.html there is a very specific example on how to use the library to embed an image (and not just simply attach it as a file) to an ...
George Pligoropoulos's user avatar
1 vote
2 answers
2k views

Use embedded images in FlexLib Project in Actionscript Project

I have a FlexLib Project with a embed class: package { public class EmbedAssets { [Embed( source="image.png" )] public static var IMAGE:Class; } } At the same project, I ...
Marcelo Idemax's user avatar
1 vote
0 answers
571 views

How do I add an image to a XML document?

I am currently doing a markup for a catalog and need to include an image for each product but it needs to be an XML file. I am using an xslt stylesheet and so far am not having any luck successfully ...
Chelse.Rose's user avatar
1 vote
1 answer
489 views

Embedding the local external resources of an HTML page into a single HTML file

I am looking for a working way to automatically embed all local external images (i.e. images on the local file system) which are referenced in the HTML file like <img data-src="img/my_image.png" /&...
halloleo's user avatar
  • 9,712
1 vote
1 answer
58 views

d3 embeded image displayed twice

I'm embedding an image on a d3 diagram as in this example: var logoCanvas = d3.select("body").append("canvas") .attr("id", "newCanvas") .attr("width", width / 2) .attr("height", height /...
Gabor wraight's user avatar
1 vote
0 answers
57 views

Laravel image embed failure

I am having the problem in embeding images, but for the icon that is working fine and display the icon in mail, but for inside the foreach I am having some problem in displaying the images. This is ...
AM.Firnas's user avatar
1 vote
1 answer
67 views

Image with embedded links?

I need to embed links within an image, on a google webpage, that will send you to other webpages. More specifically, it is an interactive image of a cell, that should allow you to click on individual ...
Amanda Vaughn's user avatar
1 vote
0 answers
57 views

External Domain to Database to Picture via JQuery

Is it possible to embed a jQuery script (that is located on my website) on a external domain, that will get its address, then search my database for it and then will displays a certain picture ...
Lachee Domain's user avatar
1 vote
1 answer
1k views

Embed group from svg file into html

I want to embed a group from an SVG file, that can be identified with an id. My naive approaches were: 1. embed <embed src="cards/svg-cards.svg#joker_red" id="embsvg" width="300" height="220" ...
Ingo's user avatar
  • 95