Jump to content

Images on specials and footer does not appear


Recommended Posts

Hi guys!

 

The images for the "specials block" are not appearing, the same is true for a new image that I'm trying to add to the footer block. You can see this page as example http://www.anitakremer.com/presta/en/home/22-bra-strapless-push-up-lycra-glamour-collection.html 

 

For the specials block I do not have a clue how to fix it.

 

Regarding of the footer block I have added this piece of code: <img src ="<?php print base_path().path_to_theme(); ?>/footer_images/image_to_insert.jpg" />                      now I can see a big question mark instead of the image.

 

Any expert advice is highly appreciated.

Link to comment
Share on other sites

That's not the way to go for dynamic paths.

You have to use {$img dir} for the theme's image directory for example, or {$base_dir}/{$base_dir_ssl} to get the base prestashop directory. Don't use php tags in smarty, use smarty tags ;)

Link to comment
Share on other sites

×
×
  • Create New...