How to Change Store Image Size Setting?

1. You can edit 2 files below

1) wp-content/plugins/superstorefinder-wp/ssf-wp-functions.php
2) superstorefinder-wp\ssf-wp-inc\actions\process-stores.php

Search for below code:

$max_dimension = 800; // Max new width or height, can not exceed this value.

Change it to your desired max width dimension, for example:

$max_dimension = 1500; // Max new width or height, can not exceed this value.

* Ensure that the code being edited is under below comment

/*.*Image Edit Upload Code *.*/

and

/*********** image upload *************/

2. Then search for below code:

$ratio = $size[0]/$size[1]; // width/height
if( $ratio > 1) {
	$width = $size[0];
	$height = $size[0]/$ratio;
}  else {
					
	$width = $size[0]*$ratio;
	$height = $size[0];
}

Change it to:

$ratio = $size[0]/$size[1]; // width/height
if( $ratio > 1) {
	$width = $max_dimension;
	$height = $max_dimension/$ratio;
}  else {
					
	$width = $max_dimension*$ratio;
	$height = $max_dimension;
}

3. Once changes are made, you may need to reupload your store image to check for the new size.

0