Get other sizes of custom image-fields
-
Hello, I really like your plugin, it has helped me a lot. But I have one small problem.
Say I have a repeating image field. I can loop trough the images like so:
foreach ($meta['wpcf-myimages'] as $url) { echo "<img src=\"$url\">"; }
I’m also aware that, if I had only one image field I could do something like this to get the medium sized image:
echo(types_render_field( "myimage", array( "size" => "medium" ) ));
But I’m not sure how I can get the medium image size for my repeating images.
Thanks,
Jules
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Get other sizes of custom image-fields’ is closed to new replies.