0
Welcome Guest! Login
0 items Join Now

SOLVED Gantry 4 does not support scaled images

  • SOLVED Gantry 4 does not support scaled images

    Posted 12 years 3 weeks ago
    • Hello,

      This is my second site using the Gantry template with the 4.1.9 framework and I have the same issue. The site in question was migrated from Joomla 1.5 to 2.5.9. The problem I have is that all images which are scaled with HTML attributes (e.g. <img src="filename" height="hhh" width="www" alt="alt" /> do not display properly on IE 9. The images render properly on Chrome and Firefox.

      An example of this behavior can be seen here - www.endruralpoverty.org/what-we-do/projects .

      Please advise!

      Thank you
    • Last Edit: 12 years 3 weeks ago by Tim Burkart.
  • Re: SOLVED Gantry 4 does not support scaled images

    Posted 12 years 3 weeks ago
    • OK, I think I understand the behavior. Please tell me if I am wrong. It looks like CSS takes precedence over HTML. Is that right? So to rectify the problem, it appears I have to add a style to each of the scaled images.

      Thank you!
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: SOLVED Gantry 4 does not support scaled images

    Posted 12 years 3 weeks ago
    • in most cases you shouldn't give images a dimension in a responsive context.
  • Re: SOLVED Gantry 4 does not support scaled images

    Posted 12 years 3 weeks ago
    • Thank you, Henning. I was not aware of that.

Time to create page: 0.119 seconds