Closed nikkuAg closed 2 years ago
I have removed the whitespace from the images and also the images are completely visible. But I feel that it is not pleasing to look as the images are getting stretched and the aspect ratio of the images is getting distorted, so I think we should go with the solution in the PR #121
Hmmm I guess my explanation here was not clear. Sorry for that.
My idea is not to change the fix https://github.com/llaske/ExerciserReact/pull/121.
My idea is to adapt images in src/media/defaultExerciseThumbnail
to adapt to the fix so it look better.
@llaske Sorry but not able to understand what basically you mean by adapt, should I crop the image so that it fits perfectly and also the important stuff is visible, or you are suggesting something else
Yes that's exactly the idea
Ok but there also some images will loose the data if we crop them according to fit it completely
It doesn't mind. It's just illustrations.
But cropping of images is done in the default mode already
Yes but with the new fix there is no more cropping.
I am not able to understand the fix you are suggesting in the changes in the PR #121
Okay, let's restart from the beginning:
The issue https://github.com/llaske/ExerciserReact/issues/120 suggest that it will be better to center images used for Exercise illustration. The PR https://github.com/llaske/ExerciserReact/pull/121 fix the issue but the side effect is that few images in samples exercises don't fit the new size (white margin around).
What I'm expect is to resize these images (in src/media/defaultExerciseThumbnail
) to adapt to the fix so it look better.
Issue: #120