WordPress.org

Ready to get started?Download WordPress

Forums

Scaling Featured Image Up (1 post)

  1. the.green.timtam
    Member
    Posted 2 years ago #

    I've got a jQuery slider (Nivo slider - not the plugin) that displays the featured images of the different posts.

    It works fine, but I want Featured images smaller than the slider (1200x500px) to be scaled up to that amount. I've currently got the following in a loop:

    <a href="<?php the_permalink();?>"><?php the_post_thumbnail(array(1200,500)); ?></a>

    which scales image down, but not up.

    I understand that there will be pixelation.

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by the.green.timtam
  • This topic is not resolved
  • WordPress version: 3.4

Tags

No tags yet.