Open NayaMakarova opened 8 years ago
Yes, this is actually expected. If a picture is too big to fit, it's possible to either scale it, or crop it. Here we are using cropping. This can be adjusted - but for most pictures, cropping is fine.
Facebook f.ex. does the same. Look at this picture:
Unless you want to discuss it further, you can close this issue.
Yes, I understand. For some pictures it's fine, but for this monk (and some others) it's not fine at all. So I shouldn't upload horizontal images?
Sent from Mail.Ru app for iOS
Saturday 5 March 2016 10:52 +0300 from notifications@github.com notifications@github.com:
Yes, this is actually expected. If a picture is too big to fit, it's possible to either scale it, or crop it. Here we are using cropping. This can be adjusted - but for most pictures, cropping is fine. Facebook f.ex. does the same. Look at this picture: — Reply to this email directly or view it on GitHub .
It's fine :p
But it's not perfect. I will change this issue, to create a feature request. The feature will be, the ability to preview how an image will be cropped, and adjust it, from the admin.
This is low priority, and will probably not happen in the near future. In the meantime, there is a workaround:
As long as the images have the same aspect ratio as we display, they will not be cropped. So if you want to optimize it for the swiper, you can crop it manually before you upload it. It will then be cropped when it is displayed horizontally (the cropping keeps the centre of the image). The aspect ratios are documented here (I think they are up to date):
https://github.com/prebenl/tripfinger-ios/wiki/Photo-details
So, if you really, really want f.ex. a head from being cropped in any of the views, you have to make sure it's not at the edges of the picture.
Of course I want. Would you like your head to be cropped? Ok, I understood.
Sent from Mail.Ru app for iOS
Saturday 5 March 2016 11:06 +0300 from notifications@github.com notifications@github.com:
So, if you really, really want f.ex. a head from being cropped in any of the views, you have to make sure it's not at the edges of the picture. — Reply to this email directly or view it on GitHub .
Horizontal images are cut / incomplete in Swiper, while when you go to description with this image - it's normal. F.ex. monk on the picture doesn't have half of the face in Swiper. Poor monk..you should help him.