cozemble / monorepo

A data and process canvas
https://cozemble.com
Apache License 2.0
13 stars 1 forks source link

Support for image cell types #17

Closed mike-hogan closed 1 year ago

mike-hogan commented 1 year ago

Add the "Image" cell type, so people can upload photos from their phone, tablet or laptop.

Permit multiple images in the same cell.

Show a thumbnail for each, and a means to seeing the image at full size.

Support deletion of one or more of the images in the cell.

samsoft00 commented 1 year ago

this also looks interesting, my idea here is to have a single input field that enables auto upload and append the image link to an HTML tag or list of upload files.

mike-hogan commented 1 year ago

Can you expand a bit more on this @samsoft00 ?

The intention of this custom cell type is to support upload of one or more images into a cell, as you mentioned. But the method of interaction with the images subsequently would be viewing, deleting or adding more. But also, acting as an image source for other cell types that require an image input.

Imagine a custom cell type for Optical Character Recognition (OCR). This cell type would need an image source when you configure it. So you would point it to an image cell.

You have extra thoughts?

mike-hogan commented 1 year ago

This is done, but the UI is jumpy and looks bad. Will loop back on this with @Metehan-Altuntekin