Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
paydayMARK
Experienced
Topic Author
Posts: 44
Joined: 09 Apr 2011, 01:36

Pinterest Share

12 Feb 2013, 21:27

Hello!

I am trying to share some of my pictures on Pinterest but the thumbnail doesn't show. Same thing happens with Facebook share. Can anything be done in this matter?
I updated to the last version.

Another thing is that whenever I want to share the website link on facebook it chooses a thumbnail [by default] that doen't represent me. Is there any fix for that?

THANK YOU FOR THE GREAT WORK! IT'S AMAZING!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Pinterest Share

13 Feb 2013, 00:51

paydayMARK wrote:I am trying to share some of my pictures on Pinterest but the thumbnail doesn't show. Same thing happens with Facebook share. Can anything be done in this matter?
With Pinterest it should not currently be working, because from Imagevue you are generally sharing a PAGE not an image. Facebook and most services are of course welcome to sharing pages (with thumbnail), but pinterest is only for sharing an image.

So, this would not be working out-of-the-box with pinterest, but it should work with Facebook. If its not working for you, please send me the link you are attempting to share. Here it is working with our demo gallery:
Image
paydayMARK wrote:Another thing is that whenever I want to share the website link on facebook it chooses a thumbnail [by default] that doen't represent me. Is there any fix for that?
It chooses the first thumbnail it can find in your folder structure. You can hardcode the thumbnail by editing the file iv-includes/templates/default/, approximately line 25:
Code
<meta property="og:image" content="<?php echo pageURL().htmlspecialchars($this->firstImage->thumbnail); ?>?<?php echo htmlspecialchars($this->firstImage->getThumbnailMTime()); ?>" />
... change to ...
Code
<meta property="og:image" content="http://yourdomain.com/gallery/content/folder/image.jpg" />
In the above, just add a direct absolute path to the image you wish to represent you. After you have changed and uploaded the file, you will need to run your gallery link in the Facebook debugger so that FB refreshes its cached preview.
 
User avatar
paydayMARK
Experienced
Topic Author
Posts: 44
Joined: 09 Apr 2011, 01:36

Re: Pinterest Share

13 Feb 2013, 00:58

THANK YOU!!! :)
I do appreciate it! I was hitting my head to the wall with Pinterest :)
Thank you for all the advice!