CSS for small images on mobile & medium when not?
Vocoder
Registered Users Posts: 7 Beginner grinner
Greetings. First post here, 3 days into my trial. I'm looking forward to fully converting in the next week or so but have run into a wall that I can't seem to get over on my own...
If I set the homepage images to size small the site looks great on my phone. However, on a monitor, medium size images are needed to build the look I want.
Question - can a CSS guru point me towards a way that I can automatically display small size gallery images on mobiles and medium everywhere else?
If I set the homepage images to size small the site looks great on my phone. However, on a monitor, medium size images are needed to build the look I want.
Question - can a CSS guru point me towards a way that I can automatically display small size gallery images on mobiles and medium everywhere else?
0
Comments
tailoredportraits.com
One other thing I've noticed is that randomly, the nice arrangement of photos that in that gallery will go wonky and drops one of the images out of the 'grid'. Any help on that would be appreciated as well! Thanks!
Finding a way to have Smugmug deliver the right size (different templates or settings) is a much better alternative as they reduce the size prior to transmission.
What I have seen on my Mac before with Collection Landscape galleries is that if the photos do not fit into full lines the last photos will often get displayed in weird sizes - larger than the other line's photos (not necessarily filling it all up then either), this was one of the reasons why I rather hand-coded my portfolio pages and "folder-indexes" than using one of the collage galleries provided. Not sure if my "hand coding" would work for your homepage as it is based on all photos having the same size to get arranged automatically.
But this makes me wonder if this resizing for collage landscape is rather a bug than a feature...
Good luck
Lille Ulven