Search…

X3 Photo Gallery Support Forums

Search…
 
VDF
Posts: 10
Joined: 21 Sep 2011, 06:12

Re: How do you display social next to audio player

21 Sep 2011, 08:34

hi there

im trying to display the facebook, twitter, etc. as mjau mjau explained. i've carefully worked through the three steps. i also updated to 2.7. except just nothing happens.
at first i asumed it has something to do with the html (site) turned off, but when i turn it on, its still the same. i didnt have the facebook or twitter buttons at first.
anyone some suggestions? i really like this function.

thanks
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: How do you display social next to audio player

21 Sep 2011, 09:05

The only thing I can think of - you need to paste the CSS code into both Custom CSS fields in admin, Flash and HTML:

Image
firedev.com
 
VDF
Posts: 10
Joined: 21 Sep 2011, 06:12

Re: How do you display social next to audio player

21 Sep 2011, 09:37

sadly that doesnt work either. how frustrating.. :x or some tiny setting im overlooking.

ive attached some screenprints of the scripts in my imagevue (not yet adjusted to my personal social media)
all help is welcome.
Attachments
Naamloos-2.jpg
Naamloos-2.jpg (127.47 KiB) Viewed 5362 times
Naamloos-1.jpg
Naamloos-1.jpg (108.96 KiB) Viewed 5362 times
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: How do you display social next to audio player

21 Sep 2011, 10:26

It would help if you could provide a link to your gallery.
firedev.com
 
VDF
Posts: 10
Joined: 21 Sep 2011, 06:12

Re: How do you display social next to audio player

21 Sep 2011, 10:58

ive figured it out. in the first code i had to turn "display: none" into all.
thx anyway
Last edited by VDF on 22 Sep 2011, 04:47, edited 1 time in total.
 
ruslicus
Posts: 11
Joined: 20 Sep 2011, 10:43

Re: How do you display social next to audio player

22 Sep 2011, 00:13

Hi, looks everything is working, but how I can insert some spaces as my icons overlap the Audio Player and I want to move it left a bit? I was trying to play with CSS numbers but didn't work. Any help please. Thank you!
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

22 Sep 2011, 02:34

ruslicus wrote:Hi, looks everything is working, but how I can insert some spaces as my icons overlap the Audio Player and I want to move it left a bit? I was trying to play with CSS numbers but didn't work. Any help please. Thank you!
See in the original post, there is some CSS:
Code
#social-thing {position: absolute; right: 120px; top: 10px; display: none;}
The top and right styles move your element vertically and horizontally ...
 
ruslicus
Posts: 11
Joined: 20 Sep 2011, 10:43

Re: How do you display social next to audio player

22 Sep 2011, 10:29

Anyone can help me? Yesterday the social icons were present and working fine. This morning the icons disapeered. Looked into codes nothing been changed? Please any ideas? www.photocollections.ca
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: How do you display social next to audio player

22 Sep 2011, 13:02

They are in place, do not worry:

Image
firedev.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: How do you display social next to audio player

22 Sep 2011, 13:02

They are in place, do not worry:

Image
firedev.com
 
ruslicus
Posts: 11
Joined: 20 Sep 2011, 10:43

Re: How do you display social next to audio player

22 Sep 2011, 13:16

That is weird, this morning wasn't there :) can be a glitch from facebook? Thank you Nick for wuick reply. :roll:
 
User avatar
alexhenes
Experienced
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: How do you display social next to audio player

24 Sep 2011, 00:51

I have this functionality working on my site... http://www.merelyafleshwound.com however... when someone 'likes' the site a twitter image is posted to facebook. This function used to post a thumbnail of the first image in the slideshow. Can this be fixed? Would be cool if I could specify the image to post to FB.

I just tested the imagevuex demo site... looks like it has a similar issue in that the google image is posted to FB.

Also... I like the dialog box that appears when the FB like button is hit... can you post the code for this?

Thanks
Alex
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: How do you display social next to audio player

24 Sep 2011, 05:45

eh_ex wrote:I have this functionality working on my site... http://www.merelyafleshwound.com however... when someone 'likes' the site a twitter image is posted to facebook. This function used to post a thumbnail of the first image in the slideshow. Can this be fixed? Would be cool if I could specify the image to post to FB.
Not sure how this can be ... The Facebook "like" button is something we have zero control over. It simply likes a specific page, or the page one is visiting ... IF it displays a twitter image, it could be that Facebook checks your page, and this is the first image it finds. Maybe we can fix this with OGP (Open Graph Protocol) settings in the index - I will look into this ...
eh_ex wrote:Also... I like the dialog box that appears when the FB like button is hit... can you post the code for this?
Not quite sure what dialog box you mean ... All this is handled from the Facebook native loaded code. Are you using the example code we posted on page 1 of this topic?
 
User avatar
alexhenes
Experienced
Posts: 568
Joined: 28 Sep 2006, 16:13

Re: How do you display social next to audio player

25 Sep 2011, 11:49

I am using the example code... check out the different behavior between my site and the demo.
Alex
https://www.merelyafleshwound.com
https://www.goldenbikeshop.com
 
User avatar
Nick
Imagevue Hitman
Posts: 2872
Joined: 02 May 2006, 09:13

Re: How do you display social next to audio player

26 Sep 2011, 02:27

Looks like it's something on the Facebook side. You gallery links this image:

http://www.merelyafleshwound.com/conten ... te-023.jpg

But at least we can try something. First, try adding a title to this image and see if it changes anything. If this won't help, could you please try and edit iv-includes/templates/index.gallery.phtml.

Find this block of code:
Code
					<?php if ($this->firstImage): ?>
						<?php if ((ivPath::canonizeRelative(substr($this->firstImage->thumbnail, 0, strlen($this->contentPath))) !== $this->contentPath)): ?>
							<img src="<?php echo $this->url(array('c' => 'xml', 'a' => 'thumb', 'path' => $this->firstImage->getPrimary())) ?>" <?php echo htmlspecialchars($this->firstImage->title) ?>" />
						<?php else: ?>
							<img src="<?php echo htmlspecialchars($this->firstImage->thumbnail); ?>?<?php echo htmlspecialchars($this->firstImage->getThumbnailMTime()); ?>" alt="<?php echo htmlspecialchars($this->firstImage->title) ?>"/>
						<?php endif; ?>
					<?php endif; ?>
And wrap it in a link like this:
Code
<a href="/content/slideshow/haute-route-023.jpg> ... </a>
My guess is maybe facebook will like either image with alt attribute or linked image better.
firedev.com