timthumb 2 resize issue
-
Using Branford Magazine theme (free version). The lead story module on my website uses timthumb. Until I upgraded to timthumb 2, whatever size I specified for the lead image overrode the default size of yyy x zzz. Since the upgrade, that is no longer the case; now, no matter what size I specify in my image code attached to the story, it is always sized to whatever the default size is. Since I often use logos in that position— very few of which are the default size— the image looks distorted in that lead spot. In order to change that default size to fit “today’s” image size, I have to manually change the default size every day. As you can guess, while not difficult this is a real pain in the, er, neck.
The theme’s code that controls that size is as follows:
`<?php while (have_posts()) : the_post(); ?>
<?php // here the thumbnail image gets automatically generated fron the posts own image gallery ?>
<a href=”<?php the_permalink() ?>” class=”alignleft” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><?php postimage(300,200); ?></a>`QUESTION: What can I do to make the lead image conform to whatever the size actually is? Do I need to make a change in the timthumb code itself, or can it be done within the theme’s code?
- The topic ‘timthumb 2 resize issue’ is closed to new replies.