Different Pictures on devices

Home Forums Photo World/Photo Session Support Different Pictures on devices

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #10562
    Mike SmithMike Smith
    Member
    • Topics: 5
    • Replies: 11
    • Total: 16
    Member since: July 30, 2015

    Hiya,

    Wonder if you can tell me if its possible to display different slide show / featured image pictures when switching between landscape / portrait when mobile.

    The slide show looks great on desktop with landscape but not with portrait pics. however on mobile the site looks great with portrait pictures until you change the orientation of the screen.

    I appreciate any advice.
    Mike.

    #10571
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi Mike,

    To see what you mean care to show us the website.

    Regards,
    Shri

    #10572
    Mike SmithMike Smith
    Member
    • Topics: 5
    • Replies: 11
    • Total: 16
    Member since: July 30, 2015

    Hiya Shri,

    Yup the site is http://premiere-photography.com/

    Need to know if i can display landscape only pictures on the slide show and featured image when viewing on desktop.  and portrait only pictures when viewing on mobile.

    Mike.

    #10574
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi Mike,

    That would be difficult to do what you are asking. Instead we have have it fit always for any device.

    Go to appearance>editor>functions.php and then search fit_always change from 0 to 1

    Search fit_portrait change from 1 to 0.

    And save.

    Now the images would fit any kind of screen.

    Regards,
    Shri

    #10575
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Hi Mike,

    Actually the above instructions won’t apply because its already always_fit 1 on your theme and its what is default

    Regards,
    Shri

    #10578
    Mike SmithMike Smith
    Member
    • Topics: 5
    • Replies: 11
    • Total: 16
    Member since: July 30, 2015

    Yeah ive changed that already.

    Yes i was thinking it would hard to do. i even thought of making a second site
    m.premiere-photography.com with portrait only images in the slider and featured images and adding a redirect script when coming from a mobile device. but 2 sites? would that work? can you pull text content if install in the same database?

    #10580
    Sonl SinhaSonl Sinha
    Keymaster
    • Topics: 10
    • Replies: 6987
    • Total: 6997
    Member since: June 12, 2013

    Can be done but tedious unnecessarily.

    Regards,
    Shri

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.