答え:
テーマで変更が必要なものをいくつか見つける必要があります(実際、あなたの場合、466行目のファイルavia.jsにあるかもしれません)
---1) ,social_tools:'',
---2) 、ディープリンク = false、
に変更する必要があります
、ディープリンク=真、
また、2 つの要素 (iframe_markup、inline_markup) を追加し、social_tools を次のように変更します。
したがって、新しい行 466 は次のようになります
elements.prettyPhoto({
social_tools:'<div class="pp_social"><div class="twitter"><a href="http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></div><div class="facebook"><iframe src="http://www.facebook.com/plugins/like.php?locale=en_US&href='+location.href+'&layout=button_count&show_faces=true&width=500&action=like&font&colorscheme=light&height=23" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:500px; height:23px;" allowTransparency="true"></iframe></div></div>',
slideshow: 5000,
deeplinking: true,
overlay_gallery:false,
default_width: ww,
iframe_markup: '<iframe src ="{path}" width="{width}" height="{height}" frameborder="no"></iframe>',
inline_markup: '<div class="pp_inline">{content}</div>',
default_height: wh
});
それがツイッターとフェイスブックです。上記と同じ形式で、他に必要なものを追加するだけです。ニック。
参照: http://www.kriesi.at/support/topic/single-image-share