[Resolved] Code to display custom image size and alt text
The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 9 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.
I know the code for displaying a custom image size from the image field and I also know the code for pulling through the alt text. I would like to combine these two so I can use a custom image size and pull through the alt text.
I'm using the code below which I found on another forum post.
This works perfectly for the alt text but what I can't figure out is how to use this code to also display the custom image size that I have created in my functions.php file using add_image_size.