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」? –