image-ui.blade.php 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. @extends('layouts.master')
  2. @section('content')
  3. <div class="d-flex">
  4. <div class="mr-2">
  5. <h2>원본이미지A (width: 250px, height: 250px)</h2>
  6. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual13_250x250.jpg" alt="">
  7. </div>
  8. <hr>
  9. <div class="mr-2">
  10. <h2>원본이미지B (width: 600px, height: 200px)</h2>
  11. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual12_600x200.jpg" alt="">
  12. </div>
  13. <hr>
  14. <div class="mr-2">
  15. <h2>원본이미지C (width: 200px, height: 600px)</h2>
  16. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual1_200x600.jpg" alt="">
  17. </div>
  18. </div>
  19. <hr>
  20. <h2>A. 반드시 정사각형안에 전체를 보여주는 고전적인 썸네일 (현재 테두리 격자크기: 150x150)
  21. <span class="text-danger">(현재 완료)</span>
  22. </h2>
  23. <div class="mb-2 d-flex">
  24. <div class="mr-3">
  25. <h1>이미지A</h1>
  26. <div style="text-align:center; width:150px; height: 150px; display:table; border:1px solid #cecece;">
  27. <div style="display:table-cell; vertical-align:middle;">
  28. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual13_250x250.jpg"
  29. style="max-width:150px; max-height:150px;">
  30. </div>
  31. </div>
  32. </div>
  33. <div class="mr-3">
  34. <h1>이미지B</h1>
  35. <div style="text-align:center; width:150px; height: 150px; display:table; border:1px solid #cecece;">
  36. <div style="display:table-cell; vertical-align:middle;">
  37. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual12_600x200.jpg"
  38. style="max-width:150px; max-height:150px;">
  39. </div>
  40. </div>
  41. </div>
  42. <div class="mr-3">
  43. <h1>이미지C</h1>
  44. <div style="text-align:center; width:150px; height: 150px; display:table; border:1px solid #cecece;">
  45. <div style="display:table-cell; vertical-align:middle;">
  46. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual1_200x600.jpg"
  47. style="max-width:150px; max-height:150px;">
  48. </div>
  49. </div>
  50. </div>
  51. </div>
  52. <hr>
  53. <h2>B. 중앙을 강조하는 썸네일
  54. <span class="text-primary">(요청)</span>
  55. </h2>
  56. <div class="mb-2 d-flex">
  57. <div class="mr-3">
  58. <h1>이미지A</h1>
  59. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual13_250x250.jpg">
  60. </div>
  61. <div class="mr-3">
  62. <h1>이미지B</h1>
  63. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual12_600x200.jpg">
  64. </div>
  65. <div class="mr-3">
  66. <h1>이미지C</h1>
  67. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual1_200x600.jpg">
  68. </div>
  69. </div>
  70. <hr>
  71. <h2>C. 인스타 그램 방식 썸네일
  72. <span class="text-primary">(요청)</span>
  73. </h2>
  74. <div class="mb-2 d-flex">
  75. <div class="mr-3">
  76. <h1>이미지A</h1>
  77. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual13_250x250.jpg">
  78. </div>
  79. <div class="mr-3">
  80. <h1>이미지B</h1>
  81. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual12_600x200.jpg">
  82. </div>
  83. <div class="mr-3">
  84. <h1>이미지C</h1>
  85. <img src="https://msqxp.daboryhost.com/uploads/2023/02/13/post/main_visual1_200x600.jpg">
  86. </div>
  87. </div>
  88. @endsection