*

sebastian

  • ***
  • 30 posts
Listing image is not cropped on mobile
« on: May 03, 2021, 04:05:59 PM »
Hi,

When i try to add an image for a listing (on mobile), the image is not cropped and will display larger than any other listing images (see attachment)
This bug manifest only on mobile. It doesn't matter the resolution, if the picture is vertically, it will make the thumbnail bigger then the rest, including the slider when viewing the listing.

Notice: first take the picture, then try to add or update listing

I have tried best image crop and force image aspect. Same problem.

I am using latest version of osclass and gama theme and ImageMagick enabled
« Last Edit: May 03, 2021, 04:14:04 PM by sebastian »

*

MB Themes

Re: Listing image is not cropped on mobile
« Reply #1 on: May 03, 2021, 04:52:43 PM »
@sebastian
Oc-admin > settings > media > force image aspect.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #2 on: May 03, 2021, 05:36:57 PM »
I don't understand your answer. I know very well how to configure the theme. I know I have "best image crop" and "force image aspect" options, but this don't fix the bug.

*

MB Themes

Re: Listing image is not cropped on mobile
« Reply #3 on: May 03, 2021, 05:38:39 PM »
Then disaable both and regenerate images
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #4 on: May 03, 2021, 06:06:06 PM »
I have tried everything before posting the bug. Enabled and disabled. Same problem

*

MB Themes

Re: Listing image is not cropped on mobile
« Reply #5 on: May 03, 2021, 07:57:28 PM »
I would call that as impossible  :)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #6 on: May 03, 2021, 09:03:35 PM »
Please do the following steps to reproduce the bug:

ON MOBILE PHONE

1. take a picture with your phone
2. click "Add new listing" or "Edit existing one" and insert photo from Step 1
3. publish listing
4. view listing

You will see the bug when viewing the listing. See attachments

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #7 on: May 03, 2021, 09:08:30 PM »
You can try anything in Settings -> Media:
- enable/ disable "best image crop"
- enable/ disable "force image aspect"
- disable both "best image crop" and "force image aspect"
- regenerate images
- tested on different phones, different images: landscape or portrait
- etc

The bug is still there

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #8 on: May 03, 2021, 11:12:14 PM »
IMPORTANT:

I think the bug manifest on images with size > 2mb
Phone pictures have around 7-13mb depending on the phone.

Photos with small sizes (kb) don't manifest the BUG!

*

MB Themes

Re: Listing image is not cropped on mobile
« Reply #9 on: May 04, 2021, 08:28:14 AM »
Please do the following steps to reproduce the bug:

ON MOBILE PHONE

1. take a picture with your phone
2. click "Add new listing" or "Edit existing one" and insert photo from Step 1
3. publish listing
4. view listing

You will see the bug when viewing the listing. See attachments

This looks more like bug of bxslider library that is trying to keep all images of "same size". Can you provide URL to this listing?
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #10 on: May 04, 2021, 08:35:37 AM »
https://totulgratis.ro/sport-timp-liber-si-arta/box/manuși-box_i41

Its not just the slider, also thumbnail on home page is larger then the rest if I put that image first
« Last Edit: May 04, 2021, 08:40:08 AM by sebastian »

*

MB Themes

Re: Listing image is not cropped on mobile
« Reply #11 on: May 04, 2021, 08:50:48 AM »
@sebastian
https://totulgratis.ro/oc-content/uploads/0/114.jpg
https://totulgratis.ro/oc-content/uploads/0/87.jpg

If you compare these images, they have dimension 640x480 and 480x640, that sounds for me like orientation of first image was rotated after it was stored.
Can you mail original images to [email protected]? Will play with it for a while
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #12 on: May 04, 2021, 09:06:46 AM »
Yes, same image rotated is ok. But vertical image is not

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #13 on: May 04, 2021, 09:07:50 AM »
Hint:

Bug DO NOT manifest when:
- phone image is shared on WhatsApp (gets resized), then re-upload it to my listing
- phone image is taken instantly by phone camera when adding the listing
- any resolution image from internet (for example 1900x1080 or 1500x1000) with size in kb not mb

Only if I do the 4 steps mentioned in my earlier post, I see the bug

*

sebastian

  • ***
  • 30 posts
Re: Listing image is not cropped on mobile
« Reply #14 on: May 04, 2021, 09:56:11 AM »
@sebastian
https://totulgratis.ro/oc-content/uploads/0/114.jpg
https://totulgratis.ro/oc-content/uploads/0/87.jpg

If you compare these images, they have dimension 640x480 and 480x640, that sounds for me like orientation of first image was rotated after it was stored.
Can you mail original images to [email protected]? Will play with it for a while

You can take a picture with your phone and play with it, it's the same thing. It's not just this specific image, any image will have same problem if it's taken with phone and then added to listing.

In attachment: see behaviour of same picture resized by social media, then re-uploaded to my listing (pic2.png)