Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
5k views

The image is not displayed when sent to email

string html = "<img src=data:image/png;base64,i0KGgAD34DtaA..........*>"; //*very long SensMail(mailaddress,html, System.Text.Encoding.UTF8); public static void SensMail(string sendTo,...
Amen's user avatar
  • 25
1 vote
0 answers
242 views

How to position the image at the side edges of the screen?

I want to place the image at the edges of the page so that it perfectly touches the left and right sides with the edges. that's what it looks like now: https://i.sstatic.net/ATcUJ.jpg @media (min-...
Sebastian Majcher's user avatar
0 votes
1 answer
1k views

I have written a vb.net code to display image in the image control but not able to display the image

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load Dim con As New SqlConnection Dim img As New Image con.ConnectionString = ("Initial ...
divya rao's user avatar
1 vote
3 answers
529 views

Display default image or image in bytes in datalist - asp.net

I currently retrieve data from a database and store it in a data list. One of those items is a bytes value that is used to display an image. The code works, however, when there is no image available, ...
notGoodAtThis's user avatar
0 votes
1 answer
703 views

Asp.Net Core 3.1 - Get Image from directory and display in razor view?

How can I take the image from the directory and display it? "I saw similar posts but it did not help" I did this but it didn't work Controller : string[] filePaths = Directory.GetFiles(...
sunboy_sunboy's user avatar
0 votes
1 answer
610 views

Images are showing in Chrome but not in Firefox

The url of the site I am talking is https://example.org/visitors/home.aspx The images are showing properly only in Chrome, even it is not showing in incognito. Everything seems fine to me while ...
Md. Suman Kabir's user avatar
1 vote
1 answer
25 views

Proper <img/> source for ASP.net project?

I'm having trouble understanding how to get images to display on this ASP.net project. I'm used to using tags, but am having trouble with the paths. I have tried all of these solutions and none cause ...
Mitch B's user avatar
  • 23
0 votes
2 answers
1k views

Image src pointing on a file outside my project folder in WEB FORM

I'm looking to do this exactly : set src property in view to a url outside of the MVC3 project Fine but in web form ? I tried simply putting the path as a string into the src of the image : <asp:...
Antoine Pelletier's user avatar
0 votes
0 answers
52 views

HTML form that allows user to insert images between text paragraphs

I am making a web application with ASP.NET Core that allows users to create courses and lessons, and I want to give the users the ability to put images like diagrams, graphs or anything else between ...
Alex Petrov's user avatar
0 votes
0 answers
2k views

How to use google material design icons for HTML image control instead of image url?

Sample HTML code <img id="PartId" title="Test Part" class="visible-lg visible-md visible-sm" onclick="func1();" src="../theme1/buttons/add.png"> <i class="material-icons">add_circle</...
Sreeni C's user avatar
0 votes
1 answer
4k views

show image from another server HTML

I have this image URL i got from database. \\Imagepath\ImageFolder\image.png but i need to put in a img tag in html to show the image in the page, i try to do this way <img src='\\Imagepath\...
David Mendez Guardado's user avatar
0 votes
1 answer
393 views

What can I do to get images resized by passing a width parameter in the request?

I want my compressed images but, I don't want to compress them in upload and I don't want to resize width and height using css or stuff like that. I want to call an image like: <img src="/images/...
Mirko Baldassini's user avatar
0 votes
0 answers
64 views

How to convert html or xml to image format without using js

How to convert html or xml format to xml without using js as i have to make in webserive of c# asp.net
learner's user avatar
  • 91
1 vote
1 answer
1k views

How to display an image in an Asp:image?

So here's the deal, I have to take a text value from sql server, that beeing a encoded image, store it in a string and then I can convert it to Image type by decoding it, the thing is, how do I ...
Lez's user avatar
  • 11
0 votes
1 answer
174 views

ASP.NET Base64 image source not displaying properly.

I am getting a Base64 string from Azure active directory via a Lambda function. This represents a users profile picture. I am then trying to display this in an ASP.NET page. It isn't working. Here ...
JamesMatson's user avatar
  • 2,942

15 30 50 per page
1
2 3 4 5
9