Questions tagged [imagesource]
The imagesource tag has no usage guidance.
323
questions
-2
votes
0
answers
19
views
How do I source an image from another URL so it changes accordingly?
In a forum I'm part of we have a custom team-page which shows each team member's profile picture. As of right now, every time a member changes the picture we then have to manually fetch the url for ...
0
votes
0
answers
33
views
C# Passing ImageSource to the .Source of a XML Image [duplicate]
I am making a league of legends simulator. The app simulates a 5V5 or a 3V3 match where randomly Champions will load into 2 teams. To fill the image of a champion (comparable with a loadingscreen) I ...
0
votes
0
answers
105
views
Xamarin.Forms Imagesource issue
I have a view with an image: <Image Source="{Binding MainUrl}"/>
Image binding value : My image source on loading from database
the value of MainUrl variable is stored in an sqlite ...
0
votes
2
answers
56
views
imageSource property is unavailable on Squish IDE?
I would like to know if an image is green or red in a button I test with Squish.
My problem is that the imageSource property of my Qt object button is blank in Squish IDE so I don't know if it ...
0
votes
0
answers
16
views
Nativescript / android, upload from ImageSource without saving?
I know I can use nativescript-camera to take a picture, save to file, then to bg-http request to upload it to server, then delete local file... seems inefficient.. is there a way to use the ...
0
votes
1
answer
74
views
Converting ImageSource to String on C# WPF
ESRI Symbology library is slow and sometimes take longer time than expected.
I wish to serialize a selected range of ImageSource to a cache, string in the memory or file.
I have searched the web but ...
0
votes
1
answer
23
views
How to use ImageSource in xaml
I want to give the Button an Image like this:
<Button Name="Close" Grid.Column="1" HorizontalAlignment="Left" Margin="513,0,0,0" VerticalAlignment="...
2
votes
0
answers
70
views
Mapbox RasterLayout how to line up ImageSources?
I'm currently trying to add offline maps to Mapbox as an ImageSource on a RasterLayer.
Each tile consists of an ImageSource that is set from a bitmap image, within a specific LatLngBounds "4 ...
0
votes
2
answers
175
views
HTML how to get canvas resource file?
The picture on the HTML page is represented as a canvas, but I have problems getting the source image name of this canvas, using javascript.
Page: https://www.futbin.com/22/squad-builder
I found this ...
0
votes
1
answer
32
views
How to pull image from web using its source
I've just started learning how to code starting with HTML. I'm using Codepen and when I add any image it refuses to populate. I can see on the page where it shows my alt text and the image load fail ...
0
votes
2
answers
87
views
Uploading an image on a button click in XMAL
Why this does not load the image?
private void OnButtonClickedLoadImage(object sender, EventArgs e)
{
ImageSource imgSrc =
ImageSource.FromFile("C:\\MyApp\\MyPicture.png");
...
1
vote
2
answers
44
views
Use JS to change the source of an image element after loading the image?
Is it possible to use JS (specifically with the p5 library) to change the source of an image element? I was trying to make a very low-level slideshow on my webpage and I thought I could just do ...
0
votes
1
answer
294
views
Load Image from URL with a Referrer Header
I need to download static images from my CDN and display them in my Xamarin.Forms view. I'm new to Xamarin specifically and I'm having a hard time figuring out how to load an image from a byte array ...
0
votes
3
answers
51
views
Image source not finding the image [duplicate]
I am trying to add a image in my React component but for some reason the alternative text is always displayed
This is how I am reaching for the picture in the component Navbar
<img src="../...
1
vote
1
answer
46
views
WPF: ImageSource relative to executable location not project location
I want to load image from an directory under my executable location.
<ImageBrush x:Key="WindowBackground" ImageSource="./backgrounds/Zenitsu.png" Stretch="UniformToFill&...
0
votes
0
answers
38
views
How can i stop my Image.Source from accessing Files? [duplicate]
I have a little Game that works with Pixels. I tried to simplify this error but I can't, so it would be great if someone knew a solution.
I have a Loadlevel function that deletes some state files and ...
0
votes
2
answers
451
views
Xamarin.Forms: convert an ImageSource an Image Byte array
I work on a Xamarin.Forms app where I've implemented a signature control with the Syncfusion SfSignaturePad
I would like to send the signature image to an API.
For this, I've converted the ImageSource ...
2
votes
1
answer
129
views
Getting Error when resize image received from URL in Nativescript App
I am trying to resize image in Angular+Nativescript app after retrieving from URL but receving following error:-
ERROR Error: Uncaught (in promise): TypeError: imageSource.resize is
not a function. (...
1
vote
0
answers
160
views
Xamarin Forms - Images fetching from URL is not displaying in Android
I'm trying to fetch an image from the URL for my Xamarin Forms project.
<ci:CircleImage Source="{Binding displayPicture}" WidthRequest="50" HeightRequest="50" ...
0
votes
1
answer
86
views
Xamarin.Forms Image not showing from Source
I'm using fake Api for testing app.The Api is on this link: http://jsonplaceholder.typicode.com/. I connect my App, get all photos and add to CollectionView. Everything work perfectly fine but images ...
0
votes
1
answer
138
views
Xamarin.Forms setting Image Source in shared project
I have a Xamarin.Forms solution with Android and iOS projects.
I want the same images to be in both applications.
I know I can add the same image to both projects code seperately, but that doesn't ...
0
votes
1
answer
52
views
Assigning image resource during runtime for xaml .Net 2.0 multi platform mobile development
Goal:
I want to display an ImageButton with an image just like this:
The current solution is working but I can only choose to set a single image hardcoded into xaml.
For this purpose I have already ...
0
votes
1
answer
53
views
Why is setting a TemplateBinding on an ImageSource throwing a KeyNotFoundException?
I have the following ListBox subclass...
public class ImageAnnotationEditor : ListBox {
static ImageAnnotationEditor() {
DefaultStyleKeyProperty.OverrideMetadata(
typeof(...
0
votes
0
answers
59
views
Xamarin: Binding to ImageSource property is not working
I am trying to display images dynamically through binding:
I have ObservableCollection of TabItem to which I load a png into the Icon Property:
TabItems.Add(new TabItem()
{
Title = AppResources....
0
votes
0
answers
47
views
Xamarin.Forms: reusable error view with a ContentView, how to set the Image source?
I'm trying to create a reusable error view control with a ContentView, to display the errors related to API calls like no network, timeout, server issue, ...
This view will contain: an image, a title ...
1
vote
1
answer
193
views
ERROR Error: Uncaught (in promise): Asset '/storage/emulated/0/DCIM/Restored/IMG_20200115_103131.jpg' cannot be found
Working on nativescript application and need to access image and convert it into base64.
.then(function(selection) {
selection.forEach(function (selected) {
imageSourceModule
....
0
votes
2
answers
568
views
WPF .NET Core App - Load bitmap to ui Image without saving it first - C#
I am trying to switch to the new WPF app style and so far I'm very unimpressed.
Is there a way to load a Bitmap which was generated by the application into a PictureBox without saving it first? So far ...
0
votes
2
answers
325
views
Convert imageSource coming from Xam.Plugin.Media 5.0.1 to byte array in Xamarinforms?
if (!CrossMedia.Current.IsPickPhotoSupported)
{
await Application.Current.MainPage.DisplayAlert("Photos Not Supported", ":( Permission not granted to photos.", &...
0
votes
1
answer
34
views
Problem Changing the Imagesource via a Static Class
I have this very annoying bug that i encounter in every project:
I have a class (same namespace) where i store references to Images like this:
public class Res
{
public static BitmapImage A = new ...
1
vote
1
answer
945
views
How to set a Segoe MDL font icon as image source in WPF?
I have tried the search function (here and Google of course) and found nothing helpful for my problem.
I use the ButtonAdv control from Syncfusion (https://help.syncfusion.com/wpf/button/overview) and ...
1
vote
0
answers
54
views
Create a class collection from 2 different source collections
Edit: still stuck on this. Worked on other assignments in the meantime.
I appreciate the answer I already got, but it's not really answering my questions. It's making it more complicated for me.
Just ...
1
vote
1
answer
490
views
Image caching issue: Image Source always picking image from cache. in Xamarin Forms
I am using Image control in Xamarin forms android app. Used at two places one on hamburger slider and another on a content page. I am resolving image from web API and using the code below:
private ...
0
votes
0
answers
32
views
HTTPS Image URL Stopped Working in VS 2017 Project
I have a VS 2017 WPF project deployed to a number of clients (desktop app). The app displays images of staff members. The image is set using a URL as follows:
ImageBrush ib = new ImageBrush();
ib....
1
vote
0
answers
49
views
Set embedded image as button background - wpf [duplicate]
I have to embed the all images (all images are stored under a folder 'images' on project) within the exe of wpf application created. For that I have set the property of image as below .
Build Action :...
-1
votes
2
answers
76
views
is that possible to set ImageSource as null in wpf
Does anyone knows how to set ImageSource to null in xaml.
Something like this
<ImageSource x:Key="tt">null</ImageSource>
thanks!
0
votes
2
answers
104
views
Get images sources from string and display them in recyclerview?
I am using recyclerview to display images ( in drawable folder ), it's just an exercice and I have an arraylist of three object ( ImageModel ), each ImageModel has a field, I am calling it image ( ...
0
votes
2
answers
115
views
My images are not displayed using RecyclerView?
I have a small problem, I am trying to display a list of items, but it is not working, each item contains an image, so here is my Activity :
public class TestRecyclerImagesActivity extends ...
0
votes
0
answers
218
views
React error :: TypeError: Cannot read property '0' of undefined
I was trying to implement an telephone picker with a according to the following
import React, { Component } from 'react';
import './component_style/telinput.css';
export class telinput extends ...
0
votes
2
answers
50
views
In Jquery Img Tag in not populating image from DB because Src appending View path location in source that i cant remove ?? MVC
I have MVC application view page is under Home folder.
my image control is like,
<img id="user_img" height="100" width="90" style="border:solid" />
i am saving image in folder Img on the same ...
0
votes
1
answer
44
views
On changing the ImageSource of the Image using file picker, pop up raised that the file is in use
I am having an Image with default ImageSource, on picking up the new image using file picker it loads fine then on again the picking the previously used file, pop up raised that the file is still in ...
0
votes
1
answer
153
views
How to convert a Bitmap from memory to an ImageSource then set it as Background for a canvas to draw over it?
I'm trying to take a screenshot of the entire desktop, save it into a bitmap, convert the bitmap into a ImageSource and set that ImageSource as a background to a Canvas on which I am going to draw ...
3
votes
1
answer
599
views
Using Xamarin ImageSource.FromUri("https://my image url") how do you tell if you have retrieved an image
I'm using an ImageSource.FromUri(new Uri("https://my image uri") and it works great.
But how do I tell if I've retrieved an image successfully?
When I supply a URI that doesn't exist I don't get ...
0
votes
1
answer
111
views
Updating Image when the selection in ListBox changes - WPF
What I am trying to achieve is change the source of Image when I change the selection in Listbox.
I have a method called GetImageLink that fetches a web URL for the current selection and assigns it ...
1
vote
1
answer
1k
views
Xamarin display an image from a network shared folder
I am trying to display an image stored in a shared windows directory in Xamarin Forms and I can't get it. When I do it through an internet URL it works without problems.
What am i doing wrong?
XAML
&...
0
votes
1
answer
93
views
Loading Temp Image on Image load in ASP.NET C#
I am loading some images on my page (from File Path) and they can be heavy, so I created .min versions and try to load miniature first and then load original image when it is ready.
However I cannot ...
1
vote
1
answer
292
views
Can't load image with path from FromFile in UWP
I'm developing an App for Android and UWP. In one screen I need to load an image from the device-filesystem and display it. Strangely it works perfectly on Android, but not on UWP. The Paths seem to ...
3
votes
2
answers
5k
views
Xaml - how to use ImageSource from ViewModel
I have an ObservableCollection<Item> and an Item contains both a file path and an ImageSource of some image from the disk.
public ObservableCollection<Item> Items { get; set; } = new ...
0
votes
1
answer
314
views
XAML - Base64 ImageSource is not supported by Blend
I have to display SVG images in a WPF application.
Trying not to use a 3rd party library i converted the SVG images manually ( via Inkscape ) to XAML.
My problem is now that the XAML files are not ...
1
vote
1
answer
40
views
Problem when I delete an item (ObservableCollection) from a ListView in Xamarin
I will put the code fragments and at the end the result of the problem that I have.
EvidenciaItemVideModel.cs
private string caption;
private ImageSource thumb;
public ImageSource Thumb
{
...
1
vote
1
answer
2k
views
React Native Image error Failed prop type: Invalid prop source supplied to ForwardRef(Image)
In my react-native app I have an component array with Image component inside, but i have this error
Warning: Failed prop type: Invalid prop source supplied to
ForwardRef(Image).
file ...