0
Welcome Guest! Login
0 items Join Now

Why does the .jpg show in wrong dimensions

    • weissefar's Avatar
    • weissefar
    • Sr. Rocketeer
    • Posts: 100
    • Thanks: 0

    Why does the .jpg show in wrong dimensions

    Posted 14 years 3 months ago
    • I have a problem with some jpg images that are shown in wrong dimensions. This only happens sometimes and only in chrome and MSIE (not Firefox)...

      I am sorry not to be able to be some specific, but I hope that this is a common problem with an easy fix.

      I m also sorry if I have posted this question in the wrong forum... I can't find a forum for HYBRID tamplate questions...

      Please see the attch. for details.
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Why does the .jpg show in wrong dimensions

    Posted 14 years 3 months ago
    • Give your images a width and height attribute.
      <img src="...url..." width="200" height="200" alt="whatever" />
      If you can't do that disable the Smart loading feature in gantry (or use the Component Ignores" or "XPath Ignores"... )
    • weissefar's Avatar
    • weissefar
    • Sr. Rocketeer
    • Posts: 100
    • Thanks: 0

    Re: Why does the .jpg show in wrong dimensions

    Posted 14 years 3 months ago
    • Hi Henning

      Thank you for your support!

      I have now specified width and height for both images. However, Joomla removes the width and the height settings for one of the images (the one in the article).

      I have also set SMARTLOAD off as you suggest.

      I hope this works ;-)
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: Why does the .jpg show in wrong dimensions

    Posted 14 years 3 months ago
    • turn of your editor or use RokPad (yeah!) when you cahnge the code ...
    • weissefar's Avatar
    • weissefar
    • Sr. Rocketeer
    • Posts: 100
    • Thanks: 0

    Re: Why does the .jpg show in wrong dimensions

    Posted 14 years 3 months ago
    • Thanks Henning! It works ;)

Time to create page: 0.070 seconds