Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter petelaud

    (@petelaud)

    Thanks for responding.

    I’m not using shortcodes. The image is added to the post using a Types Custom Field (Image field). The image is then fetched in the theme using the “types_render_field” code I pasted above. It will render the default WP size thumbnails, but not my custom sized thumbnail “printables-thumb”, even though I can see that this custom image was generated on the server. In fact, I can fetch this image by height, just not by size.

    ‘size’ => ‘printables-thumb’ <— this doesn’t work
    ‘height’ => ‘270’ <— this does work
    ‘size’ => ‘thumbnail’ <— this also works

    It works until I update the post in any way. Like if I go into the post and add a period to the text, it breaks and just gets the full sized image.

Viewing 1 replies (of 1 total)