WordPress.org

Ready to get started?Download WordPress

Forums

Extract Image Path (2 posts)

  1. Greg Rickaby
    Member
    Posted 4 years ago #

    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(); ?>" />

  2. alchymyth
    Forum Moderator
    Posted 4 years ago #

    see this thread for first idea:
    http://wordpress.org/support/topic/368390?replies=1

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags