Shortcode to display uploaded image using Meta Box image field - set alt, title, link and open

Published: 17 February 2022
on channel: Bruce Young
828
11

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, duration hours minute second in high quality that is uploaded to the channel Bruce Young 17 February 2022. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 828 times and liked it 11 visitors.