Custom Fields
Re-Envisioned
Support Meta Box AIO Compress image uploading size

  • Creator
    Topic
  • #29686
    LU
    Participant

    Hi

    I use the following code to upload image.
    Are there anyway to compress the file size and change the directory?
    Or any hook to use to do these work?

                    [
                        'name' => __('Item Image', ''),
                        'id' => $prefix . 'meta_items_image',
                        'desc' => __('Only JPG,PNG,GIF', ''),
                        'type' => 'image',
                        'max_file_uploads' => 3,
                        'class' => 'item-image',
                    ],
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.