Jump to content


These Forums Are Now Read-Only


For TubePress support, please post a question here or open a support ticket and we will be glad to assist.


Photo

How do you change the thumbnail size on a page?


  • Please log in to reply
11 replies to this topic

#1 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 24 June 2012 - 05:22 PM

Hi, I went to appearance and changed the thumbnail size, but they didn't get bigger at all. No change. How is this done? Is it a css thing? If so, why is there a setting for this under the appearance tab if it doesn't change? I'm probably missing something.

Thanks!

#2 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 25 June 2012 - 06:14 PM

Hi,

Typically if the thumbnail settings at WP Admin > Settings > TubePress > Thumbnails aren't taking effect it means that your site's CSS is constraining images to a particular size. Could you share a link to your gallery so we could take a closer look? Should be easy to remotely diagnose and fix. Thanks!

#3 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 25 June 2012 - 07:05 PM

Sure, it's http://www.b

#4 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 25 June 2012 - 07:58 PM

If you look in your theme's style.css around line 1120 you'll see

img {
    height: auto;
    max-width: 100%;
}
This is preventing TubePress from controlling the size of the thumbnails (their height, anyway). I would suggest removing the "height: auto;" setting, but there are probably other CSS tricks you could use to loosen the restriction.

Make sense?

#5 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 25 June 2012 - 09:13 PM

Yes... So if I remove that, TubePress can control it again? Do you think that will effect anything else too? Since it doesn't seem to be a line only related to tubepress?

#6 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 26 June 2012 - 09:00 AM

It's a fairly benign change, so I'd be very surprised if it has a negative impact anywhere else. You could always make the change, see if things look OK, then revert the change in the event that something breaks.

Another option would be to leave the "height: auto" there, and add some CSS like the following:

.tubepress_thumb img {
    height: 90px;
}
This will "override" your theme's setting for TubePress thumbnails. The disadvantage of this method is that you have to explicitly set the height in CSS (as opposed to setting in from your WP admin pages).

#7 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 26 June 2012 - 01:27 PM

Thanks a lot! Will the width automatically change to be proportionate? Or is it best to set that as well?

#8 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 27 June 2012 - 09:28 PM

Thanks a lot! Will the width automatically change to be proportionate? Or is it best to set that as well?


Couldn't hurt to set the width, too. But I'd imagine it will be fine as is..

#9 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 29 June 2012 - 01:28 PM

Thanks man! Appreciate it. I have a question for you. Is this TubePress?? http://spricket24.com/
If so, how is that sort of customization done?

Thanks!

#10 eric

eric

    Lead Developer

  • TubePress Staff
  • 2787 posts

Posted 29 June 2012 - 03:32 PM

Doesn't look like it. That appears to be a fully custom implementation. Maybe I'll email the owner to suggest TubePress :)

#11 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 29 June 2012 - 03:42 PM

She's super hot... Suggest she goes out with me while you're at it! :)

#12 Brian Monarch

Brian Monarch

    Member

  • Members
  • PipPip
  • 17 posts

Posted 29 June 2012 - 04:11 PM

By the way, I just tried adding the following to the style.css sheet...

.tubepress_thumb img {
    height: 180px;
    width: 240px;
}

I tried it at first with just the height and they were distorted. Stretched. I added the width and it's still distorted. Can I make bigger thumbnails without them distorting? The width doesn't seem to be effecting it at all. I changed it to 340px also and it stayed the same.

Thanks!