Jump to content

How to get image URL innew system


Troppau
 Share

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

Share this post


Link to post
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?

Share this post


Link to post
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
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More