0
我们正在逐渐的Prestashop 1.6.1.3生成PDF与图像504网关超时时的Prestashop生成PDF文件使用图像1.6.1.3504网关超时时,从前台和后台办公
在.tpl文件中,我们有图片的路径如下图所示:
<td width="50%" valign="top"><table width="100%" style="padding:10px;" id="leftTable"><tr><td>
{if $product_id==2}
<img src="http://mywebsite.ae/img/images1.jpg" style="width:200px; height:81px;" />
{else}
<img src="http://mywebsite.ae/img/images2.jpg" style="width:200px; height:86px;" />
{/if}
可能有权限问题与您要使用的图像.. – Wolfack
你确定它是连接到图像路径?你没有这种条件尝试过吗?你正在编辑什么文件,并正确定义了“$ product_id”? –