Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to generate an image directly in the Media Library #503

Closed
1 task done
dkotter opened this issue Jun 20, 2023 · 3 comments · Fixed by #524
Closed
1 task done

Ability to generate an image directly in the Media Library #503

dkotter opened this issue Jun 20, 2023 · 3 comments · Fixed by #524
Assignees
Labels
type:enhancement New feature or request.
Milestone

Comments

@dkotter
Copy link
Collaborator

dkotter commented Jun 20, 2023

Is your enhancement related to a problem? Please describe.

We've added support to generate images within the context of creating a post (for instance, generating and inserting an image into the content or as a featured image). It would be nice to have the ability to generate images outside of the content creation process, thinking maybe a new section under Media or a new Generate image button that shows on the Media Library screen (or both):

Generate image menu item Generate image button

And clicking on either of these would take you to a custom page where you enter in a prompt, generate one or more images and then can import those images into your Media Library.

Designs

No response

Describe alternatives you've considered

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@dkotter dkotter added the type:enhancement New feature or request. label Jun 20, 2023
@dkotter dkotter added this to the Future Release milestone Jun 20, 2023
@jeffpaul jeffpaul modified the milestones: Future Release, 2.4.0 Jun 28, 2023
@jeffpaul
Copy link
Member

Also worth consideration here is leveraging the Command Palette coming in WP 6.3 to allow folks to type in something like "generate image" and get to this same page as well. It would be even cooler if they could type their prompt into the Command Palette and then have that preset in the "Generate image" screen (or perhaps jump into that flow with sending that prompt to DALLE and move straight to showing the resulting image(s)).

@phpbits
Copy link
Contributor

phpbits commented Jun 30, 2023

I tried adding a Generate Image sub-menu opening the Media Modal automatically. @dkotter Is this the functionality you have in mind for this, or do you want a separate dashboard for this one? Thanks! cc @jeffpaul

Screen Shot 2023-06-30 at 11 46 07 PM

@dkotter
Copy link
Collaborator Author

dkotter commented Jun 30, 2023

@phpbits So I didn't put much thought into the actual UI though was probably thinking of a stand-alone page that we could link to. That said, this solves the same problem and provides the same UI used elsewhere, so I think I'm fine with this approach.

@jeffpaul Any thoughts on the above UI?

@phpbits phpbits self-assigned this Jul 5, 2023
@dkotter dkotter modified the milestones: 2.4.0, 2.3.0 Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement New feature or request.
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants