Replies
- Ravi on July 20, 2016 at 9:50 am in reply to: MediaPress gallery not displaying properly on mobile #4723
Hello Olumuyiwa,
Sorry for the inconvenience. I have checked this url in my HTC Desire 526 With android version 4.4.2 and it is working fine for me. Please share your screen shot to make me more clear on it.
Thank You
Ravi Hi Roberto,
Is it happening with BuddyBlog or BCG group plugins or Are you using any custom form?.
Thank You
RaviHi Christian,
Please explain me more
1. Do you mean Media is showing in Media section of backend. But it is not showing in the Front end gallery.m
2. Do you mean media is showing in front-end gallery but missing from the activity.
3. Do you mean media is not showing.Thank you
RaviHi Tomasz,
I have checked the website and there is little change have to made in html. Please create a data attribute for image tag containing media id of image just like
<img alt="kotek " data-media-id="2901" src="http://test.chrzescijanscysingle.pl/wp-content/uploads/mediapress/members/1/2900/kotek-200x194.jpg">and put the following script in your current theme functions.php file and let me know if it works or not.
function buddydev_dev_include_my_custom_script() { $data = 'jQuery(".user-photo .mpp-photo-entry img").on( "click", function() { var $this = jQuery(this); var media_id = $this.attr("data-media-id"); mpp.lightbox.media( media_id ); return false; } )'; wp_add_inline_script( 'mpp_core', $data ); } add_action( 'mpp_enqueue_scripts', 'buddydev_dev_include_my_custom_script' );Thank You
RaviHi Chirstian,
I still looking into the issue. Can you please tell me when was this issue started. There might be the chance of plugins conflict or any other custom code in files. Can I deactivate the plugins to find the bug.
Thank you
RaviHi Christian,
I was working on lightbox that is why you was getting the white box again. I have fixed that issue but I am still looking into the bug coming in lightbox image order.
Thank You
Ravi