plane icon indicating copy to clipboard operation
plane copied to clipboard

[bug]: Images in comment section can't be viewed in native resolution

Open nikkuexe opened this issue 1 year ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Current behavior

When I add an image to a comment and save, the image is attached and shown in a restricted size with no option to view the source image; right clicking the image gives no open in new tab options either.

image

The source shows the image used is the full-size image simply scaled down.

<div class="group/image-component relative inline-block max-w-full" style="width: 165px; aspect-ratio: 3.22759 / 1;">
  <img src="https://planefs.s3.amazonaws.com/98ab8aeb-7262-498d-96c8-xxxxxx....xxxxxx-image.png" width="165px" class="image-component block rounded-md read-only-image" style="width: 165px; aspect-ratio: 3.22759 / 1;">
  <div class="absolute inset-0 size-full bg-custom-primary-500/30"></div>
</div>
image

Expected behavior is to have a function to view the image in its original size.

Steps to reproduce

  1. Go to an existing project issue and paste an image into the comment section, and press the comment button.
  2. View the now live comment and see the small image.
  3. Click on the comment image, and get no action.

Environment

Production

Browser

Google Chrome

Variant

Cloud

Version

Latest

nikkuexe avatar Oct 03 '24 22:10 nikkuexe