• Resolved talgalili

    (@talgalili)


    Hello people.
    I am posting a tip to help theme developers.

    The problem:
    theme users sometimes happen to inserts photos their posts which are too large (meaning – the width of the photo is larger the then width of the post container in the theme).

    The solution:
    (assuming the theme-post-container size is 450px)
    add the following line of code in the theme style.css:
    img {max-width:450px;}

    note of caution: this solution won’t work for visitors using IE6, but it’s much better then nothing…

    Cheers,
    Tal

Viewing 16 replies (of 16 total)
  • Xinfo,

    Many many thanks, I had that problem when used tdo mini forms.
    Thumbnails on the main page worked fine,also zoom, but when click to each post,pictures were to wide…

    now all works fine:) many thanks

Viewing 16 replies (of 16 total)
  • The topic ‘a tip: how to limit the maximum size of pictures in a theme’ is closed to new replies.