Grow your CSS skills. Land your dream job.

run the_post_thumbnail through php script before output?

  • # August 6, 2011 at 3:51 pm

    I have a PHP script that desaturates an image and creates a sprite of the colored version of the image and the desaturated version of the image for a rollover effect, but I am a bit stuck on how I can take the_post_thumbnail in WordPress and run it through the script first to create the sprite and output the image, any ideas?

    # August 6, 2011 at 3:56 pm

    Not sure if you can run the URL of the image through it? If so, this might help you:

    http://wordpress.org/support/topic/the_post_thumbnail-url?replies=7

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".