Why fancybox doesnt work online - fancybox

I am using the fancybox plugin for gallery on my website. Everything works fine on my localhost, but when I upload my website, and try to open an image in gallery there is a message: Requested content cannot be loaded.
Please try again later..
This happens when i try to open an imgage
Does enyone know what is the problem?

Is it possible you are not using relative links eg. <img src="/images/image.png"> vs <img src="localhost/images/image.png"> best guess without seeing a code example.

Related

google forms don't show up with php desktop

I'm looking to create an app with PHP Desktop (latest version) and for the Contact page I wanted to insert a simple Google form.
My problem is that, if I open this link in an external browser, it works as it should be, but using PHPDesktop, returns me a blank page.
I encounter the same issue in both scenario: using the link shown above or the iframe for embedded HTML.
Googling around, I found only one similar reference here, but as it looks my problem is different.
My error code is:
my code is inserted as hyperlink in the menu of my index.php page with this code:
<a class="button2 button1" href="https://docs.google.com/forms/d/e/1FAIpQLSdm7v9mzLeqENTjimhr1w54J-fvCuNJpWAn9O06JsQsmzp4nA/viewform?usp=sf_link" target="blank" >Contact</a>
Do you have any idea how can I solve this?

Security-Check iFrame not beeing loaded when trying to create new facebook app

i am trying to create a facebook app, however the security check won't let me. There's an iframe which just will not load.
I have tried it with chrome, edge, safari, disabling McAffee, tried it on my smartphone without wifi connection but nothing worked.
Do you have any tips what i could try or does someone know about this problem?
Here is a screenshot of the error in chrome:
https://imgur.com/tYPG7fT
This is how it looks like in edge:
https://imgur.com/fZvzh8P
It says "Cant show this content in an iframe.
For safari: there is simply nothing where the iframe should be.
Ok problem solved by time. Just tried it again a few hours later and it was working well now.
Using edge instead of chrome solved this for me.

Facebook Like Box is blank

I am using the iframe method to get the Facebook Like Box on my website.
The website is: http://motorcyclealley.co.nz (the Like Box should be showing down the bottom to the right of the YouTube video)
However, it is always blank.
Browsing to the iframe url in my browser: http://www.facebook.com/plugins/likebox.php?href=http://www.facebook.com/MotorcycleAlley&width=320&height=315&show_faces=false&colorscheme=light&stream=true&border_color&header=false&appId=397375460320824
Also produces a blank screen. The url was generated with the official generator. I am unable to figure out what is wrong because STRANGELY it works in the browser I originally did it on (Firefox 18.0.2 on Linux).
I have tried it on Chrome, Internet Explorer and Firefox/Windows and made sure that all adblocking extensions are disabled. I still get the blank screen.
Can anyone tell me whats going on?
EDIT: I should also mention that I have tried the HTML5 and FBML methods with the same result, they both worked on that ONE browser but not on any others
Ok, I just found out why. The Like Box doesnt show unless you're logged into Facebook in that browser (because it is set to have an age restriction). Apparently the following fixes it: https://stackoverflow.com/a/9310091/335227
I had the same problem.
I followed FB's instruction to add a FB like box in my web page:
<div class="fb-like"
data-href="https://www.your-domain.com/your-page.html"
data-width=""
data-layout="standard"
data-action="like"
data-size="small"
data-share="true">
</div>
But the block doesn't show like and share buttons, only white blank.
After some investigation I found it to be a bug of standard layout, if I set data-layout attribute to box_count, button_count or button, it works well.
My research

Unable to open HTML href link in Safari/iPhone

I have created a simple application using Phonegap in XCode using HTML. My code looks like this:
<dd>Office Number</dd>
<dd>Personal Number</dd>
<dd>Log in to your Mail ID</dd>
The first two links are working fine. I am able to dial a number; but the last line is not working. It seems like disabled. In the mobile, after running, it's showing "Log in to your Mail ID" as a tab but nothing happens when I click it.The web address is not going to the Safari browser.
Please help. how can I integrate this link to Safari browser in iPhone like the first two lines.
Thanks in advance
u have to implement child browser in ur application......https://github.com/purplecabbage/phonegap-plugins/tree/master/iPhone/ChildBrowser
it have a option of opening the link in safari also .....if u have any query plz feel free to ask .....

FB.provide is not a function

I'm developing a WordPress plugin to show above or bottom the posts Facebook like and send buttons.
Unfortunately when is also activated a plugin for Facebook share button there is a Javascript error (FB.provide is not a function) and like and send buttons don't appear.
For example this happens in this page: http://www.pasqualepuzio.it/2011/04/plugin-facebook-like-and-send-button/
How can I solve this issue?
Thank you very much
I ´ve faced the same problem and it happens if you add the script twice on the site (http://connect.facebook.net/sv_SE/all.js)
I understood that part that we cant have all.js twice but I want to have Facebook Share Button and Facebook Like Button.
According to Docs, I need to include these two JS Files.
https://connect.facebook.net/en_US/all.js
http://static.ak.fbcdn.net/connect.php/js/FB.Share
Now, If I include both Firebug will give me same error "FB.provide is not a function". If I remove either of them then Like or Share button wont work.
I can do iFrame version but I have HTML Encoding issues with iFrame Version. I am programmatic generating HTML Response.
Any idea, how to approach?
There is a workaround for this: instead of placing the javascript Fb.Share within the same page where you are loading the Javascript SDK, use an Iframe with the first and set it in the second.