WordPress.org

Forums

Tumblr Widget
[resolved] Photo resizing (8 posts)

  1. mjg
    Member
    Posted 3 years ago #

    Is it possible to edit the plugin file so that photos are resized to 220px instead of 100 or 250?

    250px breaks my sidebar and 100px is too small.

    Changing the form values didn't work. Thanks in advance.

    http://wordpress.org/extend/plugins/tumblr-widget-for-wordpress/

  2. gabrielroth
    Member
    Plugin Author

    Posted 3 years ago #

    Those are the sizes at which Tumblr provides the photos. Select 250px and resize the photo by adjusting the height and width properties in your theme's CSS.

  3. mjg
    Member
    Posted 3 years ago #

    Thanks. I've tried these without success:

    .tumblr_post img { width: 220px; }
    .tumblr_post img { max-width: 220px; }

  4. gabrielroth
    Member
    Plugin Author

    Posted 3 years ago #

    Can you post a link so I can take a look?

  5. mjg
    Member
    Posted 3 years ago #

    gorey.com.au, using the Streamline child theme of Genesis.

  6. mjg
    Member
    Posted 3 years ago #

    This worked:

    .tumblr_post.photo img {
    max-width: 220px;
    }

  7. floxwp
    Member
    Posted 2 years ago #

    Hi, Thanx for this solution !

    I tried it on my home page with the widget.
    http://www.flox-music.com/fr/

    My problem is that I want my tumblr feeds on a page as well and of course it reduces my photos on that page.
    http://www.flox-music.com/fr/?page_id=937

    Is there any way of reducing the size of the photos only on the widget ???

    Thanx alot !!!

  8. gabrielroth
    Member
    Plugin Author

    Posted 2 years ago #

    Try adding this to your CSS, below the other rule:

    .page .tumblr_post.photo img { max-width: none; }

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Tumblr Widget
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic