• Resolved gray7apps

    (@gray7apps)


    On our staging site, dev.hikeitbaby.com, I’ve implemented the usage of the Instagram Feed through calling the shortcode in the footer of our theme. It’s working great on desktop displays, but when loaded in mobile devices the images are having a “display:none;” applied to them. This is even though I included the parameter “disablemobile=false”

    I would like to be able to just have this section be truly responsive, as I’ve had to force it to use flexbox in order to show a single row of at least 20 columns when on extra-wide screens. You can see the media queries in action as you resize the width.

    Thanks for your help.

    https://www.ads-software.com/plugins/instagram-feed/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author smashballoon

    (@smashballoon)

    Hey gray7apps,

    I just viewed your site on my phone and it seems to be displaying the Instagram photos successfully (screenshot). Is that how it’s supposed to look or am I missing something? I see that you’re using media queries to hide the other photos below certain breakpoints but the remaining photos seem to be displayed correctly on my end.

    John

    Thread Starter gray7apps

    (@gray7apps)

    Thanks for the quick response John.

    Could I ask what device you’re using? I just tested on an iPhone 6, 6s and Samsung Galaxy S6 and both of those devices hide the actual images. – https://snag.gy/hgOmsE.jpg

    Oddly iPhone 5s DOES display it correctly and does your plugin justice: https://snag.gy/Vy6CYQ.jpg

    Thread Starter gray7apps

    (@gray7apps)

    Chrome on iPhone 6S Plus also acts the same way: https://snag.gy/Q58N09.jpg

    Thread Starter gray7apps

    (@gray7apps)

    also has a problem on the Nokia Lumnia 930 (windows phone) https://snag.gy/YmW2iT.jpg
    I’m using BrowserStack.com to test those devices, btw.

    Plugin Author smashballoon

    (@smashballoon)

    I tested it on my iPhone 5, my wife’s iPhone 6, and every device on Chrome Developer Tools too and it seems to be displaying correctly on all of them (Nexus 6P). Do you have an actual device you can try testing on rather than Browserstack?

    Does the issue only occur with your current theme or even with a default WordPress theme such as TwentyFifteen?

    Thread Starter gray7apps

    (@gray7apps)

    great question. I was using a real iPhone 6s, and browser stack does offer “real device testing” as well as emulators. What it came down to finally, why it was working on the iphone 5, but not iphone 6 is iphone is at 320px width, and iphone 6 is at 375px. There is some code within your instagram plugin that when at widths between 320 – 475px does some funny stuff with setting background images on elements instead of showing the actual image, probably due to trying to find the proper resolution to display. So it’s not about device headers as I originally thought, but what jQuery does when it first loads the screen at a certain width (not just resizing within chrome developer tools without a proper refresh).

    Overriding this by defining within the shortcode to always show the thumbnail seems to be a fix, ie imageres=thumb

    Thank you very much for working with me towards a solution.

    Plugin Author smashballoon

    (@smashballoon)

    Ah, yeah that makes sense. Glad to hear you were able to find the problem and a solution! If you have any other questions or issues at all then just let me know, and thanks for using the plugin ??

    John

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘On mobile views, the plugin hides all the images’ is closed to new replies.