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

specifying an x, y value for Image #336

Open
maryghermann opened this issue Mar 4, 2024 · 0 comments
Open

specifying an x, y value for Image #336

maryghermann opened this issue Mar 4, 2024 · 0 comments

Comments

@maryghermann
Copy link

maryghermann commented Mar 4, 2024

Expected behaviour

I want to be able to do something like

        images.push({
           key: asset.id,
           src: asset.signed_asset,
           width: asset.vehicle_bbox_width,
           height: asset.vehicle_bbox_height,
           x: asset.vehicle_bbox_x,
           y: asset.vehicle_bbox_y,
           isSelected: false,
       });

for each tile image. So that instead of the original large image being displayed, only the specified crop is displaying in the grid.

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

No branches or pull requests

1 participant