Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

Link shortened Photobucket pictures don't show up correctly

  • 1 ответ
  • 1 имеет эту проблему
  • 19 просмотров
  • Последний ответ от cor-el

more options

Basically, I used Google URL Shortener to shorten some URL's from Photobucket, but when I go to add them to the HTML on my page, instead of directly linking to the photo like they're supposed to, the links all link instead to the album page on Photobucket, causing the images to naturally break on my website. The photos will work properly if I don't shorten the URL, but I really would prefer the links to be shortened. The problem I'm running into doesn't happen on Chrome or Opera and seems Firefox exclusive, which is a pain as there are certain members of my website that do in fact use Mozilla Firefox.

On Chrome and Opera, the Photobucket links are correct and show up like this: http://i76.photobucket.com/albums/j27/DaBlackGoku13/055_SAKEDE.png However, on Firefox, they incorrectly show up like this, despite the fact my shortened link is the example above: http://s76.photobucket.com/user/DaBlackGoku13/media/055_SAKEDE.png.html

One of my shortened URL's look like this: http://goo.gl/3ZXVbv

Anyone have any ideas how to fix this?

Basically, I used Google URL Shortener to shorten some URL's from Photobucket, but when I go to add them to the HTML on my page, instead of directly linking to the photo like they're supposed to, the links all link instead to the album page on Photobucket, causing the images to naturally break on my website. The photos will work properly if I don't shorten the URL, but I really would prefer the links to be shortened. The problem I'm running into doesn't happen on Chrome or Opera and seems Firefox exclusive, which is a pain as there are certain members of my website that do in fact use Mozilla Firefox. On Chrome and Opera, the Photobucket links are correct and show up like this: http://i76.photobucket.com/albums/j27/DaBlackGoku13/055_SAKEDE.png However, on Firefox, they incorrectly show up like this, despite the fact my shortened link is the example above: http://s76.photobucket.com/user/DaBlackGoku13/media/055_SAKEDE.png.html One of my shortened URL's look like this: http://goo.gl/3ZXVbv Anyone have any ideas how to fix this?

Все ответы (1)

more options

See the discussion in this thread:

It seems to depend on the request header send.

It works if you (temporarily) set the network.http.accept.default to an empty string.

data:text/html,<img src='http://i76.photobucket.com/albums/j27/DaBlackGoku13/055_SAKEDE.png'>

The default accept header that Firefox sends doesn't work and redirects:

  • Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
http://i76.photobucket.com/albums/j27/DaBlackGoku13/055_SAKEDE.png
HTTP/1.1 302 Moved Temporarily
Location: http://s76.photobucket.com/albums/j27/DaBlackGoku13/055_SAKEDE.png
HTTP/1.1 302 Found
Location: http://s76.photobucket.com/user/DaBlackGoku13/media/055_SAKEDE.png.html

Изменено cor-el