SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2006
    Location
    Greece
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question lightbox style gallery, that works good on mobile

    Those lightbox style galleries, where the screen goes dark and you see a 'pop-up' of the enlarged image... work great on the PC, but not good at all on my android device. And I presume in mobiles in general. The screen goes dark, the image does not fit the screen, previous/next buttons are not visible, I can scroll out of the image view area and see the rest of the page... in other words, it doesn't work for mobile.

    I need a good alternative. I want to keep the current style for PCs, but I'd like more of an 'image viewer app' kind of feel for the mobile devices.

    What would you suggest? Can I keep my current lightbox implementation, and add a secondary alternative just for mobile? Do I need to find a different unified solution? (I don't have that many options since I', working mostlye with CMS and their available extensions).

    Thanks

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,107
    Mentioned
    448 Post(s)
    Tagged
    8 Thread(s)
    Quote Originally Posted by EvanGR View Post
    Do I need to find a different unified solution?
    Sounds better to me. Have a look at PhotoSwipe, a nice gallery for mobile and desktop, and it looks easy to install.

    (There's a handy video about it here and an article here.)

    One lightbox I've used is slimbox2, and on iPhone (not sure about other devices) the image doesn't pop up byut just displays on its own page (as if JS were off). It's a bit clinky, but at least it's accessible.
    Facebook | Google+ | Twitter | Web Design Tips | Free Contact Form

    Forum Usage: Tips on posting code samples, images and more

    Forrest Gump: "IE is like a box of chocolates: you never know what you're gonna get."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •