app icon indicating copy to clipboard operation
app copied to clipboard

Add resize for images with ability to open in new tab after clicking on it

Open VitalikZ opened this issue 1 year ago • 7 comments

Sometimes we need to add full screen image and it's not convenient if it's displayed with full image so user can go case by case and open image when user want to open it. This feature exist in gitlab docs. Please add it to your project.

VitalikZ avatar Aug 14 '24 09:08 VitalikZ

@VitalikZ give some gitlab examples also please give some testomat.io screenshot of page you're talking about

poliarush avatar Aug 14 '24 09:08 poliarush

@VitalikZ in fact you already have control to open screenshots in fullscreen or sized by width or height

2024-08-14_11 27 42@2x

2024-08-14_11 28 39@2x

poliarush avatar Aug 14 '24 09:08 poliarush

@VitalikZ or are you talking about image usage in description?

2024-08-14_11 29 43@2x

poliarush avatar Aug 14 '24 09:08 poliarush

@littlefrontender it's about sizing image within markdown used in description

poliarush avatar Aug 14 '24 09:08 poliarush

This can be done on backend side

DavertMik avatar Aug 15 '24 10:08 DavertMik

@DavertMik @littlefrontender

no, i think we should improve behaviour in preview mode, to set displaying size and expanding/collapsing images, from markdown perspective everything will be the same but in preview mode, you can set some user-configuration setting for image

poliarush avatar Aug 15 '24 10:08 poliarush

@poliarush yes, in the description Actual result: Screen shot 2024-08-15 at 13 16 48 Screen shot 2024-08-15 at 13 16 55 Screen shot 2024-08-15 at 13 17 01

Expected result: Screen shot 2024-08-15 at 13 19 27 Screen shot 2024-08-15 at 13 19 36

Example on the gitlab:

We can edit exactly in the description field Screen shot 2024-08-15 at 13 23 20

VitalikZ avatar Aug 15 '24 10:08 VitalikZ

Hi @VitalikZ! The feature is implemented, you can see a short demo below. It will be published in the upcoming release

https://github.com/user-attachments/assets/37e5f8a7-36b3-4e59-80a3-b1f9ea67527d

TetianaKhomenko avatar Oct 17 '24 12:10 TetianaKhomenko

https://docs.testomat.io/project/tests/#how-to-resize-attached-images-in-a-test-case

iaza18 avatar Feb 10 '25 19:02 iaza18