WordPress.org

Ready to get started?Download WordPress

Forums

Dynamic Image Resizer
Plugin not properly converting image sizes (4 posts)

  1. Jonathan Lundström
    Member
    Posted 1 year ago #

    Hello!

    Thanks again for a great plugin, however I've stumbled upon another issue. If I upload an image that has a resolution of 1280x800 and then register a post type, like this in my functions.php:

    add_image_size('gallery-small', 280, 260, true);

    And call it with the following code in my loop:

    the_post_thumbnail('gallery-small');

    It serves me the full-size image, and it doesn't dynamically create the small size like it should. I've come across this as several sites that I coded recently. I'm thinking that it's something that happened due to a recent WordPress update, but I'm guessing it would be easy to fix.

    Thanks in advance,
    Jonathan

    http://wordpress.org/extend/plugins/dynamic-image-resizer/

  2. dikkevandale
    Member
    Posted 1 year ago #

    Let me know if this is fixed, I was looking for exactly a plugin like this. I need a specific image size for only a few articles a month, so I don't want WordPress to generate this image for all posts that are published everyday. This will keep my upload dir a lot cleaner!

  3. JochenT
    Member
    Posted 1 year ago #

    First add add_image_size('gallery-small', 280, 260, true); in functions.php, them upload the image. That should work.
    Adding a new image size has no effect on already uploaded images in WP.

  4. dikkevandale
    Member
    Posted 1 year ago #

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic