Jump to content

Edit History

Ray UK

Ray UK

Hi,

Im trying to use a different image for the brand image on the brands list page.

In the _miniatures/brands.tpl there is this

<img src="{$brand.image}"

Now I have created another image im images/image settings named "brands_default" as there isnt a image type specifically for the brands

The reason for this is because my brand images are 2:1 ratio and not 1:1 and therefore the default settings create a square image and leave a white border at top & bottom. ( I know I can change the default settings but they are used by products etc which are 1:1 ratio)

Ive checked in  _partials/product-details.tpl and the smarty code in there is different so cant use that

{$manufacturer_image_url}

How can I use my new image named "brands_default" in place of the default image.

Thanks

Ray UK

Ray UK

Hi,

Im trying to use a different image for the brand image on the brands list page.

In the _miniatures/brands.tpl there is this

<img src="{$brand.image}"

Now I have created another image im images/image settings named "brands_default" as there isnt a image type specifically for the brands

The reason for this is because my brand images are 2:1 ratio and not 1:1 and therefore the default settings create a square image and leave a white border at top & bottom. ( I know I can change the default settings but they are used by products etc which are 1:1 ratio)

Ive checked in  _partials/product-details.tpl and the smarty code in there is different so cant use that

{$manufacturer_image_url}

How can I use my new image in place of the default image.

Thanks

Ray UK

Ray UK

Hi,

Im trying to use a different image for the brand image on the brands list page.

In the _miniatures/brands.tpl there is this

<img src="{$brand.image}"

Now I have created another image im images/image settings named "brands_default" as there isnt a image type specifically for the brands

The reason for this is because my brand images are 2:1 ratio and not 1:1 and therefore the default settings create a square image and leave a white border at top & bottom.

Ive checked in  _partials/product-details.tpl and the smarty code in there is different so cant use that

{$manufacturer_image_url}

How can I use my new image in place of the default image.

Thanks

Ray UK

Ray UK

Hi,

Im trying to use a different image for the brand image on the brands list page.

In the _miniatures/brands.tpl there is this

<img src="{$brand.image}"

<img src="{$brand.image}"

Now I have created another image im images/image settings named "brands_default" as there isnt a image type specifically for the brands

The reason for this is because my brand images are 2:1 ratio and not 1:1 and therefore the default settings create a square image and leave a white border at top & bottom.

Ive checked in  _partials/product-details.tpl and the smarty code in there is different so cant use that

{$manufacturer_image_url}

How can I use my new image in place of the default image.

Thanks

×
×
  • Create New...