Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 11:06 pm EST
Geeklog Forums
Autotag image and mobile
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hi,
I'm using [ image ] autotag in articles and the max size setting for image in the config is 600px. It's working well but fail when trying the mobile friendly test from Goggle https://www.google.com/webmasters/tools/mobile-friendly because content is bigger than the screen.
Does someone see a solution to limit the width of the image (to 100%) for little screen?
Thanks
I'm available to customise your themes or plugins for your Geeklog CMS
I'm using [ image ] autotag in articles and the max size setting for image in the config is 600px. It's working well but fail when trying the mobile friendly test from Goggle https://www.google.com/webmasters/tools/mobile-friendly because content is bigger than the screen.
Does someone see a solution to limit the width of the image (to 100%) for little screen?
Thanks
I'm available to customise your themes or plugins for your Geeklog CMS
10
9
Quote
Status: offline
Laugh
Site Admin
Admin
Registered: 09/27/05
Posts: 1470
Location:Canada
I use
/* Keep Images size less than or equal to the view port */
img {
max-width:100%;
height:auto;
}
to shrink any image that is larger than the viewport in the Geeklog themes.
One of the Geeklog Core Developers.
Text Formatted Code
/* Keep Images size less than or equal to the view port */
img {
max-width:100%;
height:auto;
}
to shrink any image that is larger than the viewport in the Geeklog themes.
One of the Geeklog Core Developers.
11
9
Quote
All times are EST. The time is now 11:06 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content