mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] URL issues for non-local storage


From: ayleph
Subject: Re: [GMG-Devel] URL issues for non-local storage
Date: Sat, 31 Oct 2015 02:01:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 10/27/2015 01:00 AM, Dylan Jeffers wrote:
> Hi all,
> 
> Wanted to start a dialogue about a particular issue (see link below)
> where the URL to a media gets mangled if it's stored non-locally. When
> using PyPump, or Goblinoid, it is impossible to view the media. As this
> issue occurs with one of our best instances, pump.goblinrefuge.com, it
> would be great if we could figure it out. I am willing to take it on
> with a bit of assistance, if this bug is indeed something you all feel
> we should address.

I've figured out what the problem is, but I'm not sure how to solve it.
The API assumes all thumbs and full images live on the pump host, so the
API prepends the pump host URL to all locations returned by the storage
object. We may need a switch in there that simply returns the image URL
if files are hosted externally and prepends the pump host if files are
hosted locally.

More details here: https://issues.mediagoblin.org/ticket/5342#comment:1

-- 
ayleph


reply via email to

[Prev in Thread] Current Thread [Next in Thread]