<div style="width:100px; height:100px;">
<input type="file" id="file" style="display:none;">
<label for="file">
<img src="圖片URL" style="cursor: pointer; width: 100%; height:100%;">
</label>
</div>
<div style="width:100px; height:100px;">
<input type="file" id="file" hidden>
<label for="file">
<img src="圖片URL" style="cursor: pointer; width: 100%; height:100%;">
</label>
</div>
<div>
<input type="file" id="file"style="visibility:hidden;width:0;height:0">
<label for="file">
<img src="圖片URL" style="cursor: pointer;">
</label>
</div>