WordPress.org

Ready to get started?Download WordPress

Forums

Custom Image Sizes
[resolved] Re-sizing based on URL (not attachment) (2 posts)

  1. nosoup
    Member
    Posted 2 years ago #

    Hi there - I am trying to re-size the image based on a custom field (So, the image URL) but your plugin only does it for attachments. Any chance of adding this feature in the future? Or have you run across anything that does this?

    http://wordpress.org/extend/plugins/custom-image-sizes/

  2. nosoup
    Member
    Posted 2 years ago #

    So in a pinch, I ended up going with Timthumb which is a PHP script that generates thumbs into a cache folder. Here is the code that I used:

    <img src="/scripts/timthumb.php?src=<?php echo $image_url; ?>&h=160" />

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.