# Photobucket の oEmbed onebox 対応

**URL:** <https://meta.discourse.org/t/oembed-onebox-support-for-photobucket/340926>\
**Category:** Product Support\
**Created:** [2024 年 12 月 6 日午後 3:16 UTC](https://meta.discourse.org/t/oembed-onebox-support-for-photobucket/340926 "2024-12-06T15:16:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [2024 年 12 月 6 日午後 4:13 UTC](https://meta.discourse.org/t/oembed-onebox-support-for-photobucket/340926/2 "2024-12-06T16:13:30Z")

</div>

Photobucket はそれらの画像を埋め込みたくないようです。

 ![](https://global.discourse-cdn.com/meta/original/4X/9/e/4/9e49f1f25c28e7076f7f1639b1dbfd89ecbcaa57.jpeg)

しかし、待ってください！ これを行うと：

```plaintext
![](https://hosting.photobucket.com/images/af237/atpaula/tempImageuaxhM1.heic?width=1920&height=1080&fit=bounds
)

```

これが得られます：

 ![](https://global.discourse-cdn.com/meta/original/4X/9/e/4/9e49f1f25c28e7076f7f1639b1dbfd89ecbcaa57.jpeg)

これにより、Discourse はそれらの画像をダウンロードできなくなり、photobucket から利用できなくなった場合でも画像を手に入れることができますが、画像は表示されます。

その後、rails にアクセスし、`^https://hosting.photobucket.com` を持つすべての投稿を取得し、それらの生の URL を `![](the url)` に置き換える gsub を実行する必要があります。

待ってください。最初にこれを書いたとき、上の URL はレンダリングされませんでしたが、後で Discourse がそれをダウンロードすることに成功したようです！（私のテストサーバーでも機能しました！）

投稿を再ベイクする必要があるだけかもしれませんか？

しかし、あなたのサイトでは機能していません：[https://forum.fotografos.online/t/esta-imagem-do-photobucket-sera-renderizada/226420](https://forum.fotografos.online/t/esta-imagem-do-photobucket-sera-renderizada/226420)

ローカルへのダウンロードを無効にしていますか？

---

_[View the full topic](https://meta.discourse.org/t/oembed-onebox-support-for-photobucket/340926)._
