Catalog Item image size is increased when upgrade from New York to Paris

Sourabh18
Giga Contributor

Hi,

Getting an issue with image size present on catalog item. Image size is increased when instance is upgraded from New York to Paris

Previous image size was 64* 64 pixels but now it is auto increased to 240*240 pixels.

Now I am trying to add image size of 64 * 64 pixels but its size also auto increased and set to 240 * 240 pixels.

I have cleared instance cache as well as browser cache. No code change in widget, But don't know why size is increased.

 

1 ACCEPTED SOLUTION

Hi, 

I just changed widget's Html code.

My code was like:

<img class="cat-img" " style="display: inline" ng-src="{{::sc_cat_item.picture}}?t=medium" />

I just removed "?t=medium". 

It was present in New York version too, but not causing any effect, don't why it was effecting in Paris version.

But after removing it, problem solved!!

View solution in original post

10 REPLIES 10

asifnoor
Kilo Patron

Hi,

you mean image dimensions are increased? When you add image size of 64 X 64, is the image enlarged to 240 X 240 and looking blurred? If yes, then the image dimensions are hard coded. 

Sourabh18
Giga Contributor

Hi asifnoor,

I checked in widget css its height and width both set to auto.

So its scaling as per the page layout. Set it to 64 X 64 and check.

It can not be hardcoded as multiple catalog items using same widget.