App displays URL images from other URLs than my own
I am unable to make the URL public, but I've pasted the full URL into my browser and can confirm the page is right - the image shows in the browser.
But... when I copy that exact URL into a Xamarin.Forms image, set as:
<Image
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Aspect="AspectFit">
<Image.Source>
<UriImageSource Uri="https://example.com/images/doesntshow.jpg"
CacheValidity="3"
CachingEnabled="false"/>
</Image.Source>
</Image>
The image simply will not show.
If I substitute the URL: "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" the image shows fine.
NOTE: There is 0 possibility the URL is incorrect or has an error because... I'm not typing it; I'm copying/pasting it and it's showing just fine in the browser, just not the Xamarin.Forms app.
I've not a clue as to what to look for. Does anyone else?
image xamarin.forms
|
show 4 more comments
I am unable to make the URL public, but I've pasted the full URL into my browser and can confirm the page is right - the image shows in the browser.
But... when I copy that exact URL into a Xamarin.Forms image, set as:
<Image
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Aspect="AspectFit">
<Image.Source>
<UriImageSource Uri="https://example.com/images/doesntshow.jpg"
CacheValidity="3"
CachingEnabled="false"/>
</Image.Source>
</Image>
The image simply will not show.
If I substitute the URL: "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" the image shows fine.
NOTE: There is 0 possibility the URL is incorrect or has an error because... I'm not typing it; I'm copying/pasting it and it's showing just fine in the browser, just not the Xamarin.Forms app.
I've not a clue as to what to look for. Does anyone else?
image xamarin.forms
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43
|
show 4 more comments
I am unable to make the URL public, but I've pasted the full URL into my browser and can confirm the page is right - the image shows in the browser.
But... when I copy that exact URL into a Xamarin.Forms image, set as:
<Image
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Aspect="AspectFit">
<Image.Source>
<UriImageSource Uri="https://example.com/images/doesntshow.jpg"
CacheValidity="3"
CachingEnabled="false"/>
</Image.Source>
</Image>
The image simply will not show.
If I substitute the URL: "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" the image shows fine.
NOTE: There is 0 possibility the URL is incorrect or has an error because... I'm not typing it; I'm copying/pasting it and it's showing just fine in the browser, just not the Xamarin.Forms app.
I've not a clue as to what to look for. Does anyone else?
image xamarin.forms
I am unable to make the URL public, but I've pasted the full URL into my browser and can confirm the page is right - the image shows in the browser.
But... when I copy that exact URL into a Xamarin.Forms image, set as:
<Image
HorizontalOptions="FillAndExpand"
VerticalOptions="FillAndExpand"
Aspect="AspectFit">
<Image.Source>
<UriImageSource Uri="https://example.com/images/doesntshow.jpg"
CacheValidity="3"
CachingEnabled="false"/>
</Image.Source>
</Image>
The image simply will not show.
If I substitute the URL: "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg" the image shows fine.
NOTE: There is 0 possibility the URL is incorrect or has an error because... I'm not typing it; I'm copying/pasting it and it's showing just fine in the browser, just not the Xamarin.Forms app.
I've not a clue as to what to look for. Does anyone else?
image xamarin.forms
image xamarin.forms
asked Dec 31 '18 at 7:18
DonnaDonna
808
808
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43
|
show 4 more comments
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43
|
show 4 more comments
1 Answer
1
active
oldest
votes
ISSUE RESOLVED - thanks for the good mental vibes :)
I found the resolution here:
https://forums.xamarin.com/discussion/105036/images-from-url-not-showing-on-android
April 5
"Just change the following options and it should work with https too.
Android Options => Advanced
HttpClient implementation = Set to "Managed" option value
SSL/TLS implementation = set to "Native TLS 1.2+" option value"
I still don't understand why prior to this setting change, I could load https images from other servers just fine (e.g. "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg"). So... I will lose a bit of sleep wondering what is different on my server from wiki's. If you have a clue, please share.
add a comment |
Your Answer
StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984689%2fapp-displays-url-images-from-other-urls-than-my-own%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
ISSUE RESOLVED - thanks for the good mental vibes :)
I found the resolution here:
https://forums.xamarin.com/discussion/105036/images-from-url-not-showing-on-android
April 5
"Just change the following options and it should work with https too.
Android Options => Advanced
HttpClient implementation = Set to "Managed" option value
SSL/TLS implementation = set to "Native TLS 1.2+" option value"
I still don't understand why prior to this setting change, I could load https images from other servers just fine (e.g. "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg"). So... I will lose a bit of sleep wondering what is different on my server from wiki's. If you have a clue, please share.
add a comment |
ISSUE RESOLVED - thanks for the good mental vibes :)
I found the resolution here:
https://forums.xamarin.com/discussion/105036/images-from-url-not-showing-on-android
April 5
"Just change the following options and it should work with https too.
Android Options => Advanced
HttpClient implementation = Set to "Managed" option value
SSL/TLS implementation = set to "Native TLS 1.2+" option value"
I still don't understand why prior to this setting change, I could load https images from other servers just fine (e.g. "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg"). So... I will lose a bit of sleep wondering what is different on my server from wiki's. If you have a clue, please share.
add a comment |
ISSUE RESOLVED - thanks for the good mental vibes :)
I found the resolution here:
https://forums.xamarin.com/discussion/105036/images-from-url-not-showing-on-android
April 5
"Just change the following options and it should work with https too.
Android Options => Advanced
HttpClient implementation = Set to "Managed" option value
SSL/TLS implementation = set to "Native TLS 1.2+" option value"
I still don't understand why prior to this setting change, I could load https images from other servers just fine (e.g. "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg"). So... I will lose a bit of sleep wondering what is different on my server from wiki's. If you have a clue, please share.
ISSUE RESOLVED - thanks for the good mental vibes :)
I found the resolution here:
https://forums.xamarin.com/discussion/105036/images-from-url-not-showing-on-android
April 5
"Just change the following options and it should work with https too.
Android Options => Advanced
HttpClient implementation = Set to "Managed" option value
SSL/TLS implementation = set to "Native TLS 1.2+" option value"
I still don't understand why prior to this setting change, I could load https images from other servers just fine (e.g. "https://upload.wikimedia.org/wikipedia/en/a/a9/Example.jpg"). So... I will lose a bit of sleep wondering what is different on my server from wiki's. If you have a clue, please share.
answered Dec 31 '18 at 20:40
DonnaDonna
808
808
add a comment |
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53984689%2fapp-displays-url-images-from-other-urls-than-my-own%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Are your URLs not https?
– Gerald Versluis
Dec 31 '18 at 7:19
Yes, the URLs are HTTPS. But I've tried both ways, http and https. Both work inside the browser. I had to change "mydomain.com" to "example.com" when posting, but it's my own domain on my own server which won't show in the app, just the browser and the server isn't local to me.
– Donna
Dec 31 '18 at 7:20
FYI - I have multiple domains on my server. I even tried putting the simple image on a second domain, exact same path except for domain name - everything works in the browser with that second URL of mine, but not in the app.
– Donna
Dec 31 '18 at 7:24
Is it possible to share one of the URLs, because at this point its just guessing really :)
– Gerald Versluis
Dec 31 '18 at 7:55
when you say "in the browser" are you actually using the device's browser, or a desktop browser?
– Jason
Dec 31 '18 at 13:43