Jump to content

How to chose product image size using PS webservice (PS1.7.4)


DARKF3D3

Recommended Posts

I'm using a php script to show product images on a PS website, the problem it's that I can't find how to set the image size.

The script actually it's showing images in full size, but they're too big, so i would like to use a smaller PS size, like home default.

This is the code used to get the image path:

$result['product'][$key]['default_image_link'] = getProductImage($product['id'], $product['id_default_image']);

Do you know how to do this?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...