Home › Forums › Photo World/Photo Session Support › Different Pictures on devices
- This topic has 6 replies, 2 voices, and was last updated 8 years, 1 month ago by
Sonnal S Sinha.
-
AuthorPosts
-
August 25, 2015 at 10:28 am #10562
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.August 25, 2015 at 12:15 pm #10571Hi Mike,
To see what you mean care to show us the website.
Regards,
ShriAugust 25, 2015 at 12:35 pm #10572Hiya 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.
August 25, 2015 at 12:39 pm #10574Hi 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,
ShriAugust 25, 2015 at 12:40 pm #10575Hi Mike,
Actually the above instructions won’t apply because its already always_fit 1 on your theme and its what is default
Regards,
ShriAugust 25, 2015 at 12:45 pm #10578Yeah 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?August 25, 2015 at 1:01 pm #10580Can be done but tedious unnecessarily.
Regards,
Shri -
AuthorPosts
- You must be logged in to reply to this topic.