I am able to access the image in the browser from loopback server, But the images is not displaying in the page by using same link.
<img src="192.168.1.11:3000/api/Pictures/Images/download/1559303030243.jpg">
all it was needed was Http: in front of the URL
Related
I have created a flutter web app running in chrome, in which I have used webview for calling the payment gateway(which we have set in the backend server).
In that URL after entering card details we redirect it to moyasar url at that time it throws an error as follows:-
Refused to display 'https://api.moyasar.com/' in a frame because it
set 'X-Frame-Options' to 'sameorigin'.
Looks like you are displaying the URL in an iframe. Make sure you are displaying the URL directly on the web view component.
In cloudflare I'm trying to make if a user is attempting to direct access any image file by browser it should redirect to where the image is originally embedded but it isn't working cause once it is redirected the image that is embedded on the page becomes broken. An example image link https://fabulous.pictures/LcOsfv7.jpeg should redirect to https://fabulous.pictures/LcOsfv7 but the embedded image becomes broken.
Here is what my page rule setting looks like
Any fix for this? also I want to allow hotlinking if it's from social media site
I have one requirement. I need to access one of our servers (web site) and need to read the content using the URLs and render it on the browser.
In our Application, I am using HttpClient API to access the web pages of one server (http://10.x.xxx.87). I am able to get html content/ web pages in the form of HttpResponse of HttpClient API. The content is sent from my application to the client, where the content is rendered in the browser.
Some of the lines from response,
href="/web/common/images/favicon.ico" type="image/x-icon"
href="/web/common/css/login.css" type="text/css
href="/web/common/css/overlay.css" type="text/css"
This href is pointing to the server I am referring from my application. I think this href location is trying to find the images or css files in my local server. I want the images to be read from the server which is I am accessing from my application.
How to solve this issue ? Help would be appreciated.
I was able to solve this issue. When the client request for the following image, href="/web/common/images/favicon.ico" type="image/x-icon", I am using servlet to read the response from other website.
I have page with HTTPS and I need to use Live Stream Box on it . I used iFrame (code below) . But when user loges in it the popup goes to after login http://www.facebook.com/popup_closer.php which users http so has permission issue as I use https in iframe src.
If I use same think with http it works but fine in FF and Chrome but IE gets issue with http shown under HTTPS .How do I get this working ?
<iframe src="https://www.facebook.com/plugins/live_stream_box.php?always_post_to_friends=false&height=600&width=490&xid=1&app_id={my_app_id}" width="490" height="600" scrolling="yes"></iframe>
Really need a help in this matter .
Found out that its a bug with facebook .
Submitted a bug here http://bugs.developers.facebook.net/show_bug.cgi?id=17422
My iframe application don't render facebook tags, I tried to change to connect url to localhost/port but it still not working, is anyone have any suggestion?
For clarification I can see some text in my application, I just can't see the facebook tags
(It's happend to my in Facebook Developer Toolkit iframe sample code)
Thanks
----------------------edit---------------------------
I don't sure where to find the callback url, and the connect url because I didn't found them under the facebook application setting configurations- I think the set of the url connect is , this was the original setting, and I found in some forum that I need to change it to localhost/port
Could you elaborate on your settings, particularly for the connect url? You can't put "localhost" into the Facebook settings - their servers don't know who you are when you say that. To them "localhost" means that facebook server. You need to enter your external IP address, and you may also need to open port 80 to let them load your page from there too.
If your application is otherwise working, then you must have put the correct IP in the callback url, otherwise nothing would be working. Whatever the case, the callback url and connect url must be on the same domain.