I'm using the 0.9.7.5 version of Thematic and I've added in a featured image to be used throughout the theme I'm working on. Is there an easy way to change the thumbnail image(entry-thumb)that's used with excerpts to something other then 100px X 100px? Or is this controlled by Wordpress? I've change the thumbnail size in media and that didn't work.
ThemeShaper Forums » Thematic
Excerpt Thumbnails in 0.9.7.5
(14 posts)-
Posted 2 years ago #
-
you are on the right track. but WP creates the files at the sizes define when you upload the image. it doesn't resize them after you change the media size. so you need to change the media size and then use something like this plugin:
http://wordpress.org/extend/plugins/regenerate-thumbnails/
to regenerate your thumbnails at the new size you desire.
Posted 2 years ago # -
Thanks again helgatheviking. That did the trick. The only strange thing is there's a class added to all the images .attachment-100x100 and the a width and height of 100 is hard coded onto the image. Not a big deal I can override it with css it's just not real semantic to use .attachment-100x100 and then change the image size to 250 x 250. I'm not sure if it's Wordpress or Thematic adding the class.
Posted 2 years ago # -
Hi Eric,
There is a filter for that.
function child_post_thumb() { return array(200,200); } add_filter('thematic_post_thumb_size','child_post_thumb');See: http://codex.wordpress.org/Function_Reference/the_post_thumbnail
and it's use in thematic_content() found here: thematic>library>extensions>content-extensions.phpThere is also a
thematic_post_thumb_attrfilter for the attribute parameter.-Gene
Posted 2 years ago # -
Great em Hr
That's exactly what I was looking for!
ThanksPosted 2 years ago # -
Thank you!
Posted 2 years ago # -
This works great, but Im getting a problem with the thumbnail over lapping the next post... any thoughts?
Posted 1 year ago # -
Or even better is there a function to move the thumb image elsewhere?
Posted 1 year ago # -
where do you want to move it? you probably need to clear:both on .hentry or something. hard to say w/o a link.
Posted 1 year ago # -
Im trying to position the thumbnail to the left of all the excerpt content including the page title..., as a larger image,
I want it to look like this...
Hope that makes sense.
Posted 1 year ago # -
you're in maintenance mode so i can't see the site
Posted 1 year ago # -
Apologies!
Its open now.Thanks for your help.
Posted 1 year ago # -
still can't see your site, but if changing the CSS to float: left isn't enough for your thumbnails you will need to change their position in markup by filtering thematic_post (inside the thematic_content() function)
Posted 1 year ago #
Topic Closed
This topic has been closed to new replies.