• Resolved buster13

    (@buster13)


    Basic settings > Select Gallery/Grid Template

    Default personal layout – good for PC screen (like Pinterest) big and nice image.
    but stacked 1 photo per row in 1 column on mobile.

    Default photo layout – I would prefer this on mobile as can see more photos in a glance.

    Qn) how to let mobile use photo layout and non-mobile on personal layout?

Viewing 1 replies (of 1 total)
  • Plugin Author odude

    (@odude)

    Your question is interesting and it seems we should keep these features in settings.
    There is no direct option now to do it.
    All you need to do is create a personal layout and check with PHP, if its mobile or desktop. Display it accordingly.

    You must have php and css knowledge. Else we can help you to hire a developer for it (navneet@odude.com).
    The function can be used as

    function isMobile() {
        return preg_match("/(android|avantgo|blackberry|bolt|boost|cricket|docomo|fone|hiptop|mini|mobi|palm|phone|pie|tablet|up\.browser|up\.link|webos|wos)/i", $_SERVER["HTTP_USER_AGENT"]);
    }
    
    // If the user is on a mobile device, redirect them
    if(isMobile()){
        header("Location: https://m.yoursite.com/");
    }
Viewing 1 replies (of 1 total)
  • The topic ‘Personal layout on PC || Photo layout on mobile’ is closed to new replies.