How to publish a code with an image inside html?
5 次查看(过去 30 天)
显示 更早的评论
Hi, in the "Example" tab of my submission I do not see the published images: locally everything works fine, while online it returns the following error instead of the images: "The page you were looking for doesn't exist".
As an example, the images I want to show are stored in the html/images/ folder and I use the following html code for publishing:
% <html>
% <table border="1" cellspacing="10px" cellpadding="10px">
% <tr>
% <td style="text-align:center;"><b>Input</b></td>
% <td style="text-align:center;"><b>Output</b></td>
% </tr>
% <tr>
% <td style="width:48%; height:48%; text-align:center; vertical-align:middle"><img src="images/input_amle.png" style="max-height:100%; max-width:100%"></img></td>
% <td style="width:48%; height:48%; text-align:center; vertical-align:middle"><img src="images/output_amle.png" style="max-height:100%; max-width:100%"</img></td>
% </tr>
% </table>
% </html>
Any help is appreciated.
Thanks a lot,
Simone
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Read, Write, and Modify Image 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!