WordPress.org

Support

Support » Themes and Templates » Extract Image Path

Extract Image Path

  • Greg Rickaby
    Member

    @gregrickaby

    I would like to pull the image path for the first image in a post. I’m using timthumb.php inside the loop as such:

    <img src="/wp-content/uploads/timthumb.php?src=<?php ImagePath(); ?>&h=150&w=150&zc=1&q=75" alt="<?php the_title(); ?>" title="<?php the_title(); ?>" />

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Extract Image Path’ is closed to new replies.