Forum


Replies: 2   Views: 1144
Issue with images from
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by s.montanarella  · 18-06-2021 - 15:01

I've problem with images inside table:

<table class="alert" cellspacing="0" width="642" style="table-layout: fixed;">
<tbody>
<tr>
<td width="114" style=""><p class="Intestazionecolonnatabella"><img src="/documents/VersUploadManuals/832/ATTENZIONE_100_100.jpg" width="100"></p></td>
<td class="lrt" width="528" style=""><p class="Messaggiosicurezzaintegrato">msg<br><br></p></td>
</tr>
<tr>
<td width="114" style=""><p class="Intestazionecolonnatabella"><img src="/documents/VersUploadManuals/832/ATTENZIONE_100_100.jpg" width="100"></p></td>
<td class="lrt" width="528" style=""><p class="Messaggiosicurezzaintegrato">msg<br><br></p></td>
</tr>
</tbody>
</table>

This works, images correctly visualized in the docx.

Instead these images are not present in the docx.

<table class="security" cellspacing="0" width="642" style="table-layout: fixed;">
<tbody>
<tr>
<td width="34"><p class="Intestazionecolonnatabella"><img src="/documents/VersUploadManuals/833/OA.png" alt="test" width="30"></p></td>
<td class="lrt" width="608"><p class="Messaggiosicurezzaintegrato">msg 2<br><br></p></td>
</tr>
<tr>
<td width="34"><p class="Intestazionecolonnatabella"><img src="/documents/VersUploadManuals/834/OAM.png" alt="test" width="30"></p></td>
<td class="lrt" width="608"><p class="Messaggiosicurezzaintegrato">msg 2<br><br></p></td>
</tr>
<tr>
<td width="34"><p class="Intestazionecolonnatabella"><img src="/documents/VersUploadManuals/835/PE.png" alt="test" width="30"></p></td>
<td class="lrt" width="608"><p class="Messaggiosicurezzaintegrato">msg 2<br><br></p></td>
</tr>
</tbody>
</table>

Class "security" and "alert" are connected with the same word table style, the only difference is the column width.

        ".alert": "Grigliatabellachiara",
        ".security": "Grigliatabellachiara",

Thanks!