WPLake > Blog > Meta Box Upload Group: File, Image and Gallery Options

Meta Box Upload Group: File, Image and Gallery Options

Time to read: 1 mins

-

Meta Box Plugins Tips and Tricks

-

Updated 19.03.24

Overview article to navigate through the 9 field types of the MetaBox Upload group.

Table of Contents

What is the Meta Box?

#link copied

Meta Box is a famous plugin and one of the best WordPress meta field plugins that allows you to manage meta fields easily.

Meta Box Upload group

#link copied

The Meta Box upload group includes 9 field types. One of Meta Box's distinct characteristics is providing multiple field types for the same data types, so these 9 types actually handle only 3 unique data types:

  1. File: File, File Advanced, File input, File upload
  2. Image: Image, Image Advanced, Single image, Image Upload
  3. Video: Video

Let's examine the differences to understand when we should use each one.

File field types

#link copied
MetaBox upload group's look for editors
File field types look for editors
Field typeWhen to use
FileAllows to upload new files
(without the option to choose from existing ones)
File AdvancedAllows to choose existing files or upload new ones
File InputAllows input of file URL (external or internal) or use of the media library picker
File UploadAllows file uploads and includes a drag-and-drop area

Conclusion: the File Advanced option offers the most universality and flexibility. Consider using the other options only when you have specific requirements.

Tip: To display values from the File fields, you can either use the built-in rwmb_get_value function or employ smart templates from the Advanced Views Lite plugin, with automated template generation and built-in post queries.

Image field types

#link copied
MetaBox image fields look for editors
Image field types look for editors
Field typeWhen to use
ImageAllows to upload one or more new images
(without the option to choose from existing ones)
Image AdvancedAllows to choose one or more existing images or upload new ones
Single ImageAllows to choose one existing image or upload a new one
Image UploadAllows image uploads and includes a drag-and-drop area

Conclusion: the Image Advanced option offers the most universality and flexibility. Consider using the other options only when you have specific requirements.

Although Meta Box doesn't have a field type called 'gallery', the Image Advanced field behaves exactly like the ACF Gallery field, allowing you to use it as a gallery.

Tip: To display images from the field, you can either use the built-in rwmb_get_value function or employ smart templates from the Advanced Views Lite plugin, with automated template generation and built-in post queries.
If you need to display images as a masonry gallery, slider, or inline gallery, consider using Advanced Views Pro, which includes integrations for LightGallery and Macy along with the Splide slider.

Conclusions

#link copied

The Meta Box upload group offers a wide variety of field types, allowing you to customize the editor's field appearance according to your needs. With this article, you can easily navigate through the field types to choose the most suitable one for your requirements.

About the Author
Maxim Akimov

Certified WordPress expert from Ukraine with over 8 years of experience. Advocate of the BEM methodology and the overall modular approach. Loves sporting activities and enjoys going to the gym and regularly plays table tennis.

0 Comments

    Leave a comment

    Reply to 

    Please be considerate when leaving a comment.

    Not shown publicly

    Got it