You are here:  » Resizing Images in search results


Resizing Images in search results

Submitted by kimarie on Sun, 2011-12-11 16:35 in

Hi
I am trying to make the images on the search results bigger, in the plugin settings on Wordpress I have changed the code to the grid then tried to enlarge the images but no matter what number I try its just not moving:

<td>
<h4><a href='%PRODUCT_URL%'>%PRODUCT_NAME%</a></h4>
%IF_IMAGE%
<img width='400' src='%IMAGE_URL%' /><br />
%ENDIF_IMAGE%
%IF_COMPARED%
  <em>from</em> %PRICE%
  <br />
  <a href='%PRODUCT_URL%'>Compare Prices</a>
%ELSE_COMPARED%
  %PRICE%
  <br />
  <a href='%PRODUCT_URL%'>More Information</a>
%ENDIF_COMPARED%
</td>
%IF_EVERY4%
</tr><tr>
%ENDIF_EVERY4%

I've managed to do it on the backend part http://www.shopfashionnow.co.uk/shp/search.php?q=dress

Is it possible to change it on the plugin?
Thanks

Submitted by support on Sun, 2011-12-11 20:14

Hi kimarie,

I think HTML width/height are overridden by CSS size controls - the CSS associated with the plugin is wp-content/plugins/pto/resources/pto.css where you will find the following beginning at line 25:

.pto_product_image {
  border: none;
  width:200px;
  float:left;
  padding: 0 15px 15px 0;
}

...so this will the place to make changes. Don't forget to do a hard refresh (CTRL+F5) after editing CSS to ensure that it is reloaded by the browser...

Cheers,
David.
--
PriceTapestry.com