• Hi – I have a problem with image resize and the Types plugin on a multisite installation.

    I’ve create a Custom Post Type and added a group and a single image field of company-logo, which is given an image from the media library that’s pretty big eg. 900×1200 pixels.

    I want to display this image resized to a max width of 300px, so I use the following code:

    <?php echo types_render_field('company-logo', array(
                  "width" => "200",
                  "height" => "150")); ?>

    It always display the original image despite trying a tonne of combinations including the built-in small, medium, large, full and thumbnail. Nothing works.

    I’ve tried the exact same setup on our staging server (we’re hosting with WPEngine) and the image resize works perfectly, with”

    -wpcf_200x200

    added to the end of the resized image file.

    When I check the uploads folder the resized images exist on staging but not on production. I’ve tried all the usual clearing of caches on server (CDN is switched off), Types settings, browser cache, etc.

    It’s driving me slightly nuts, so any help would be much appreciated.

    https://wordpress.org/plugins/types/

  • The topic ‘Image Resize Not Working – Permission Issue?’ is closed to new replies.