[Top][All Lists]

[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: Sun, 1 Nov 2015 22:13:55 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 10/31/2015 02:01 AM, ayleph wrote:
> 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,, 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:

I've provided one possible solution to this issue. It's tested working
on one of my development instances. Details at the link below.


reply via email to

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