Choose an image from the gallery as a cover image in MB Frontend Submission

Support MB Frontend Submission Choose an image from the gallery as a cover image in MB Frontend SubmissionResolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #17068
    proyectohappyweb@gmail.com[email protected]
    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

    #17186
    proyectohappyweb@gmail.com[email protected]
    Participant

    Hello, sorry, Is my question well understood?

    Thanks.

    #17193
    Anh TranAnh 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
    proyectohappyweb@gmail.com[email protected]
    Participant

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

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