I need to show the image from the remote url on front-end, I dont want to load the image to local host.and I add the table in prestashop database, to store the image url. and how to updata other files to show the image? I use the default theme.thanks
3 replies to this topic
looking for the best presta addons with outstanding support? check this: PrestaShop Modules
#2
Posted 26 October 2015 - 10:34 AM
hello
you have to create php script to get these urls from database
then include a smarty variable (array) that contains these url
in .tpl file do forach loop on that array
and display images in that way: <img src="{$array.value}"/>
you have to create php script to get these urls from database
then include a smarty variable (array) that contains these url
in .tpl file do forach loop on that array
and display images in that way: <img src="{$array.value}"/>
free tutorials, free templates, free addons, prestashop modules
#4 Guest_Trius Infotech_*
Posted 29 October 2015 - 07:38 AM
Hello Hohn,
I am Arun from freelancer.com. Please answer below questions so that I can help you!!
1. Please share your website URL
2. From do you want to get images and are those images accessible to public?
Look forward to hear from you.
Regards,
Arun