Custom Fields
Re-Envisioned
Support MB Frontend Submission Choose an image from the gallery as a cover image in MB Frontend Submission

  • Creator
    Topic
  • #17068
    Resolved proyectohappyweb@gmail.com
    Participant

    Hello,

    Is it possible to choose an image from the gallery or upload a new photo as thumbnail? That is, right now just let me upload an image.

    But I would like to click the button to open the window to add images to the post. For good or upload an image or choose one already from the gallery.

    https://d.pr/i/G7uB5e

    It’s possible?

    Thanks,
    Sergio

Viewing 3 replies - 1 through 3 (of 3 total)
  • Author
    Replies
  • #17186

    Hello, sorry, Is my question well understood?

    Thanks.

    #17193
    Anh Tran
    Keymaster

    Hi Sergio,

    Yes, your question is clear. I’ve been thinking about the solution, and I found one.

    The idea is changing the field type for thumbnail from image to single_image. Please follow these steps:

    • Create a folder mb-frontend-submission in your theme, inside that folder, create a sub-folder post.
    • Copy the file thumbnail.php from the plugin’s templates/post/ folder to the post folder above.
    • Replace the content of the copied thumbnail.php with this code.

    And try again.

    Please note that, in order to open the media popup, your users need to log in and have proper capability. See how to add capability here.

    #17196

    Ohhhh many many thanks!!!! It run very well!!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.