Hi,
Thank you for contacting us!
In order to solve this issue, you need to make changes manually in the
include_common_after.php file.
For this firstly you need to locate this file in the mentioned path which is given below:
gallery-bank>front_views>include_common_after.php
After opening this file, you need to go to near the Line No. 236 & you will find this code which is given below:
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery("a[rel^=\"<?php echo $unique_id;?>prettyPhoto\"]").prettyPhoto
({
hook: "rel",
animation_speed: <?php echo $lightbox_fade_in_time;?>,
slideshow: <?php echo $slide_interval * 1000; ?>,
autoplay_slideshow: <?php echo $autoplay;?>,
opacity: 0.80,
show_title: false,
allow_resize: true,
deeplinking: false,
changepicturecallback: onPictureChanged
});
});
function onPictureChanged()
{
var google_plus_icon = "<g:plusone data-action='share' href='"+ encodeURIComponent(location.href.replace(location.hash,'')) +"' width='160px' style='margin-left:5px; display:inline-block;'></g:plusone>";
jQuery(".pp_social").append(google_plus_icon);
jQuery(".pp_social").append("<script type='text/javascript'>\
(function() { \
var po = document.createElement('script');\
po.type = 'text/javascript';\
po.async = true;\
po.src = 'https://apis.google.com/js/plusone.js';\
var s = document.getElementsByTagName('script')[0];\
s.parentNode.insertBefore(po, s);\
})(); <" + "/" + "script>");
}
</script>
You need to replace that entire code with this
<script type="text/javascript">
jQuery(document).ready(function () {
jQuery("a[rel^=\"<?php echo $unique_id;?>prettyPhoto\"]").prettyPhoto
({
hook: "rel",
animation_speed: <?php echo $lightbox_fade_in_time;?>,
slideshow: <?php echo $slide_interval * 1000; ?>,
autoplay_slideshow: <?php echo $autoplay;?>,
opacity: 0.80,
show_title: false,
allow_resize: true,
deeplinking: false
});
});
</script>
This should fix the problem.
If you still have any doubt, please don’t hesitate to get back to us!
Thanks & Regards
Support Team
Tech Banker