How to display a gallery and text with fancybox? - fancybox

I'd like to create a fancybox with a gallery of images on the left side, and some text on the right side of the box. Is it possible to do so? By gallery, I refer to the gallery example given on the fancybox website.

You may consider my fancybox "a la" facebook script.
You can see it working here.
It requires fancybox v2.x.

Related

In Shopify, how do I add mouseover to a non-product page?

I am building my site in shopify. On the "about us" page I have photos of each team member. I would like to be able to click on the photo to show a JPG (which is a postcard of employee title and interesting facts). Is there a way to add a mouseover feature on an image that is not a product? We are using the minimal theme. As point of reference we got this idea from www.scoutbags.com/about-us
On that site they use a hover feature to change the photo and then a click through to the postcard. We are skipping the second photo to try to keep it simple/doable.
Here's info on how to enable lightboxes on your images.
https://docs.shopify.com/themes/customization/colors-images-and-video/add-lightbox-to-images
To enable images on your About Us page, you need to edit page.liquid. Find the div element that contains your page content. To the opening <div> tag, add class="rte".
Make sure you follow the rest of the steps on that tutorial.

Strange image displayed under the like button

on a site I created I have added a standard like function for advertisements users made.
Whenever I use like on a product page it works fine, e.e. http://www.markt4art.nl/Advertenties/ToonProduct.php?A=101 but on a Services page it shows a weird icon, e.g. http://www.markt4art.nl/Advertenties/ToonDienst.php?A=90
Even when I delete this image from my directory Facebook still show this weird and unwanted image.
Please explain how I can fix this and (if applicable) how I can determine myself which image Facebook will use to make a thumbnail.
This is a critical errors as all facebook likes are now very wrong...
Thx for your help.
You need to choose what image Facebook will use for the thumbnail. If you don't, Facebook will just find a random image on the screen and use it. For your first page it's using the beach picture. For the second it's using the ugly yellow 'play' button right next to where it says "Showreel".
To specify what image should show up you need to add a meta tag to your head like this:
<meta property="og:image" content="http://Your image location.jpg" />
More info here: http://blog.smartwebsitetips.com/75/how-to-force-facebook-choose-right-image-for-like-button/

Dynamically changing Open Graph properties for Facebook Like button?

I am using the jQuery PrettyPhoto as an image gallery. Each image has it's own facebook-like button on the bottom of the image modal. I'd like to have the image that was liked to appear as the thumbnail on the 'user who clicked like's status update related to liking the image. (Also, I'd like the title to be unique, but I am assuming they can be changed the same way, if at all.)
As of now, the Facebook snippet seems to be scraping the gallery meta properties on load, grabbing the og:title and og:image content that is listed there. I've tried to dynamically change these values whenever a new gallery image is clicked, but it seemed to be using the values of the page loaded meta content (which makes sense).
Is there a way to change what the facebook like button sees as the image it should use on-'like'? Each gallery image is dynamically loaded on the same page, only changing the achor value per image. I've tried a number of ways with no success, but maybe someone has some experience with this or a similar issue.
Thanks for any help or leads!
As you didn't supply any example, I checked with here. As I can see they also use original like button, so the og:title and og:image should be different in each image. Instead of images, can you use html in every popup and put image, your like button etc there?
PS: Or else, you have to dynamically change the title of gallery by javascript, which is not a very idea situation. Facebook will always look for og:title for scrapping data, you can't simply feed it by custom code.

facebook-app: share-button and iFrame resize code together

Is it possible to have a share button (the old one) and the iFrame resize function in the same app? It seems the two javascript libraries don't work together.
Update
I finally replaced the old share button with a FB.ui feed dialog:
https://developers.facebook.com/docs/reference/dialogs/feed/
you could nest the share button in a separate iframe, so the library won't need to work together

Showing different content in Facebook iframe WITHOUT using "Like"

OK, this is not the question you might think. We need to set up a tab on a Facebook page & of course that now means iframes, not FBML.
The initial content displayed will be a graphic containing a question. The answer, in the shape of another graphic, is to be revealed by clicking on the first image. The initial image must be replaced by the second (which shows the answer).
"Like" does not enter in to this: the function is the same whether the user "likes" the page or not. It's just "click this image to display the answer".
As iframe newbs, this is causing us a bit of a headache - so can anyone help ?
Thanks.
The iframes in Facebook now function just like a normal web page. Just capture the click event on the initial image using javascript (and/or jQuery) and display replace it with the new imagery.