In others themes i had used the next code : $size = array(70,30);
$attr = array(
'alt' => trim(strip_tags( get_the_title() )),
'title' => trim(strip_tags( get_the_title() ))
);
...
the_post_thumbnail($size, $attr )
So this way i get an image of 70×30
Now with infinity i get the next :
the_post_thumbnail('thumbnail-post', $attr );
...
img width="210" height="160" title="The Title" alt="The Title" class="attachment-thumbnail-post wp-post-image" src="/wp-content/uploads/2012/06/500px-Flag.svg_-210x160.png" And it’s ok
$size = array(70,30);
$attr = array(
'alt' => trim(strip_tags( get_the_title() )),
'title' => trim(strip_tags( get_the_title() ))
);
the_post_thumbnail($size, $attr )
...
img width="30" height="30" title="The Title" alt="The Title" class="attachment-30x70 wp-post-image" src="/wp-content/uploads/2012/06/500px-Flag.svg_-150x150.png" But it’s wrong. A real 150×150 image reduced to 30×30 instead of 70×30 wich i defined.
Sure i’m making a mistake, but i don’t know what. Could someone tell me ?
My Infinity version is 1.0b3 Thanks
boweParticipant
Post count: 698
Could you please specify your problem a little bit more? I’m a bit confused in what you’re trying to do