WordPress.org

Ready to get started?Download WordPress

Forums

Jetpack by WordPress.com
[resolved] Tiled Galleries & Resize Image (4 posts)

  1. Enterpr1se
    Member
    Posted 1 year ago #

    In the support document in Jetpack.com
    http://jetpack.me/support/tiled-galleries/

    It tell us we can add this to themes functions.php

    if ( ! isset( $content_width ) )
        $content_width = 800;

    In Media --> Image sizes
    I had set the Large size image is 1024x1024
    but the image will resize into 800 as the $content_width was 800, the setting in Image sizes will be ignored.

    How to fix this problem?
    Thanks

    http://wordpress.org/extend/plugins/jetpack/

  2. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    The $content_width setting will indeed limit the width of all media inserted into your posts. You can read more about it here:
    http://codex.wordpress.org/Content_Width

    If your theme allows for larger images, you can change the content_width value to 1024.

  3. Enterpr1se
    Member
    Posted 1 year ago #

    Thx

    When I set to 1024, in work fine in Chrome and Firefox, but not in IE, so sad

  4. Jeremy Herve
    Happiness Engineer
    Plugin Author

    Posted 1 year ago #

    If it doesn't work in all browsers, you will want to look at your theme stylesheet and search for CSS rules that would limit the width of your images.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic