Skip to content

Conversation

@psychedelicious
Copy link
Contributor

@psychedelicious psychedelicious commented Jun 24, 2023

this PR is based on #3572

fix(ui): fix init image display buttons

  • Reset and Upload buttons along top of initial image
  • Also had to mess around with the control net & DnD image stuff after changing the styles
  • Abstract image upload logic into hook - does not handle native HTML drag and drop upload - only the button click upload

fix(ui): fix image fetching query string

  • I don't understand what changed but suddenly the API didn't accept the format of query params for arrays. Added a query-string, a well-established lib, to serialize the query strings.

- Reset and Upload buttons along top of initial image
- Also had to mess around with the control net & DnD image stuff after changing the styles
- Abstract image upload logic into hook - does not handle native HTML drag and drop upload - only the button click upload
@psychedelicious psychedelicious force-pushed the fix/ui/image-buttons-display branch from a1bd5fb to 36237d6 Compare June 24, 2023 08:00
@psychedelicious psychedelicious merged commit 3ae996e into main Jun 24, 2023
@psychedelicious psychedelicious deleted the fix/ui/image-buttons-display branch June 24, 2023 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants