Sample entries type template HTML code to export images. [BETA]
- Go to studio
- Template
- Add new
- Under Code
- Write the HTML code
- Advacnced setting
- Type: Spreadsheet
- Data source: Entries
Sample Entries
Sample HTML Code
{
def getPhoto(path):
return "<img height=50% width=50% src='https://api.inistate.com/" + path.ToString() + "'/>"
}
<table>
<tr>
<td>Images</td>
<td>Item Name</td>
<td>Name</td>
</tr>
{start-repeat:x in entries}
<tr>
<td>{start-repeat:image in x.field('Images')}
{getPhoto(image.path)}
{end-repeat}
</td>
<td>{x['Item Code']}</td>
<td>{x['Name']}</td>
</tr>
{end-repeat}
</table>
Result