CSSだけで画像のリサイズを処理する
<style type=”text/css”>
.image-resize {
max-width: 200px;
max-height: 200px;
}
</style>
<img src=”images/test-image.jpg” class=”image-resize” />
■参考URL
<style type=”text/css”>
.image-resize {
max-width: 200px;
max-height: 200px;
}
</style>
<img src=”images/test-image.jpg” class=”image-resize” />
■参考URL