Responsive image problem

Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Sun Sep 22, 2013 6:32 pm
Reply with quote
Report this post
Hello,
The pictures of the main page don’t resize when you open our website http://amptec.fr/ on a mobile. These pictures have been inserted into a custom HTML module.
Please find attached the screen-shots of the pictures having this problem.
How can I fix this problem please?
Thanks
User avatar
Fresh Boarder

GK User
Sun Sep 22, 2013 8:21 pm
Reply with quote
Report this post
Hallo,
it depends how you added those images.
First remove width and height value from <img and check again.
You can use style="max-width: 150px;" instead static width.
User avatar
Platinum Boarder

GK User
Sun Sep 22, 2013 8:23 pm
Reply with quote
Report this post
User avatar
Platinum Boarder

GK User
Sun Sep 22, 2013 9:00 pm
Reply with quote
Report this post
Hello,
By removing width and height values from <img and adding style="max-width: 100%;" I have fixed the problem.
Thanks
User avatar
Fresh Boarder


cron