First of all: thanks for the plugin (I have been a fan of WPML – and now this plugin seems to be a worthy addition…)
I need to load a specific image size (thumbnail) of an image I have uploaded with this plugin.
Problem is, I have to request the image data outside the loop
(usually WP offers the possibility to load meta values by requesting the data like:
get_post_meta($post_id, 'wpcf-thumbnail', true);
But since the only meta value stored is the absolute URL to the image I can´t render the image in the size I want:
types_render_field("thumbnail", array('size' => 'thumbnail'));
I would (quite desperately) need a possibility the use the types_render_field function with a specific post ID (OR: a possiblity to extract the ID of the image so I could render the correct size myself – but I´d rather prefer a possibility which includes the use of the types_render_field function)
does anyone have an idea ?
- The topic ‘types_render_field / image with specific post ID’ is closed to new replies.