• I get this warning under use multiple image insert
    Caution: You need to editwp-admin/includes/media.php. Delete or comment out the code in the function media_send_to_editor.

    I have tried commenting and deleting the out the code. The warning still shows. How do I implement the multiple upload in the first place?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter anderskitson

    (@anderskitson)

    I answered my own question

    All I needed to do was this

    [screenshot1]
    type = file
    
    [screenshot2]
    type = file

    Does it matter I didn’t comment out the code from the warning? it still all works!

    Yes, if you would like to do the multiple image upload, in addition to your way, you can use the multiple and multipleButton attributes. Something like this:

    [screenshot]
    type = file
    multiple = true
    multipleButton = true

    Is it posible to get a croping function on this?
    So i can crop every image to the same size?

    The image size you set in Settings - Media applies to the file type of the custom field template. So please try to change the default media size.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: Custom Field Template] Multiple Images Upload’ is closed to new replies.