# レスポンシブで表示画像を変える

**URL:** <https://forums.concretecms.org/t/topic/8648>\
**Category:** 日本語\
**Created:** [January 16, 2025, 2:36pm UTC](https://forums.concretecms.org/t/topic/8648 "2025-01-16T14:36:12Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abo](https://forums.concretecms.org/user_avatar/forums.concretecms.org/abo/32/3495_2.png) [@abo](https://forums.concretecms.org/u/abo)\
**Post date:** [January 16, 2025, 2:36pm UTC](https://forums.concretecms.org/t/topic/8648/1 "2025-01-16T14:36:12Z")

</div>

レスポンシブで表示画像を変える、  
例えば、PCなら101.jpg、モバイルなら102.jpgを表示させたい。  
そのような方法、ブロックはありますか？

# Block Builder のアドオンを入れてみましたが、その様な設定、

項目は見つけられませんでした。

---

<div class="post-metadata">

**Author:** ![Myq](https://forums.concretecms.org/user_avatar/forums.concretecms.org/myq/32/4281_2.png) [@Myq](https://forums.concretecms.org/u/Myq)\
**Post date:** [January 16, 2025, 8:16pm UTC](https://forums.concretecms.org/t/topic/8648/2 "2025-01-16T20:16:35Z")

</div>

Some themes support that. It depends on exactly what you want to do. You can also just do it with CSS breakpoints.

The built-in image block allows you to specify different images for various breakpoints:

 ![Screenshot 2025-01-16 at 12.16.00](https://forums.concretecms.org/uploads/default/original/2X/7/77dd5378cb2ef4a0736809131c1cbb707eca73c4.png)

---

<div class="post-metadata">

**Author:** ![abo](https://forums.concretecms.org/user_avatar/forums.concretecms.org/abo/32/3495_2.png) [@abo](https://forums.concretecms.org/u/abo)\
**Post date:** [January 16, 2025, 9:31pm UTC](https://forums.concretecms.org/t/topic/8648/3 "2025-01-16T21:31:46Z")

</div>

Thanks for the reply.

I may be mistaken,  
It seems to me that the method you have presented changes the size of the image but does not automatically switch the image file itself.

---

<div class="post-metadata">

**Author:** ![ConcreteOwl](https://forums.concretecms.org/user_avatar/forums.concretecms.org/concreteowl/32/6304_2.png) [@ConcreteOwl](https://forums.concretecms.org/u/ConcreteOwl)\
**Post date:** [January 16, 2025, 10:40pm UTC](https://forums.concretecms.org/t/topic/8648/4 "2025-01-16T22:40:24Z")

</div>

> [@Myq](#):
>
> You can also just do it with CSS breakpoints.

Check out @Myq’s initial advice about css breakpoints, you will be able to display different images using this technique.

---

<div class="post-metadata">

**Author:** ![Myq](https://forums.concretecms.org/user_avatar/forums.concretecms.org/myq/32/4281_2.png) [@Myq](https://forums.concretecms.org/u/Myq)\
**Post date:** [February 6, 2025, 7:17pm UTC](https://forums.concretecms.org/t/topic/8648/5 "2025-02-06T19:17:11Z")

</div>

Sorry, you’re right. I didn’t look closely enough! You can definitely do it with CSS breakpoints though.
