All Questions
125 questions
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,...
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-...
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 ...
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, ...
0
votes
1
answer
704
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(...
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 ...
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 ...
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:...
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 ...
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</...
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\...
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/...
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
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 ...
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 ...