Upload an image to a page or post using the Meta Box Image field. Then create a shortcode to insert the image in the post or page content and set the image size, alt text, title, add a link to the image and set to open the link in the same or new tab in the shortcode.
See how to create the shortcode and integrate with the Meta Box image custom field.
You can now display the uploaded image anywhere in the post or page content.
Shortcode example:
[insert_image size="large" link="https://docs.metabox.io/fields/image/" new_window="no" alt="the alt text" title="the title"]
Get the Meta Box plugin
https://metabox.sjv.io/yRLRk3
Shortcode code:
https://byoung.co.za/meta-box/add-sho...
Watch video Shortcode to display uploaded image using Meta Box image field - set alt, title, link and open online without registration, duration hours minute second in high quality. This video was added by user Bruce Young 17 February 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 828 once and liked it 11 people.