Jump to content

How to get image URL innew system


Recommended Posts

Hello all,

I would like ask how to get URL of images from new imae system in 1.4.5.1

 

I get this code from homefeatured.tpl

<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />

 

but result what i get is

http://www.server.cz/-home/.jpg

 

I think I must define something in header od new tpl file, but id dont see what...

 

Thank you for your help

Link to comment
Share on other sites

Hello all,

I would like ask how to get URL of images from new imae system in 1.4.5.1

 

I get this code from homefeatured.tpl

<img src="{$link->getImageLink($product.link_rewrite, $product.id_image, 'home')}" height="{$homeSize.height}" width="{$homeSize.width}" alt="{$product.name|escape:html:'UTF-8'}" />

 

but result what i get is

http://www.server.cz/-home/.jpg

 

I think I must define something in header od new tpl file, but id dont see what...

 

Thank you for your help

 

 

No body can help me?

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...