在 prestashop 1.6.1.3 中生成带有图像的 pdf 时,我们得到 504 Gateway Time-out
在 .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}