Piwigo.org

You are not logged in. (Register / Login)

Announcement

#1 2015-04-04 10:29:05

photo_friend
Member
Location: Berlin
Registered: 1970-01-01
Posts: 189

Piwigo iOS version 2.0, beta-test - Download Error

Tags: [iOS]

Hello

I can not download photos over the iOS app. I get this error Message:
Failed to download image! Request failed: bad request (400).

I'm login as admin in the app and I have no problem to download photos on my piwigo web gallery.



Piwigo version: 2.7.4
PHP version: 5.3.3
MySQL version: 5.1.73


Uploaded Images

Last edited by photo_friend (2015-04-04 10:30:19)

Offline

 

#2 2015-04-07 01:12:56

Hoser
Member
Location: Utah
Registered: 2015-01-14
Posts: 88

Re: Piwigo iOS version 2.0, beta-test - Download Error

Hey photo_friend,

Could you do the following:
In your Piwigo web viewer, go to this image and open it in detail. Look at your url and it should look something like this:
{your server URL}/picture.php?/4955/category/3

The 4955 is the image ID (yours should be different). Then with that ID, open a new tab in your browser and navigate to:
{your server URL}/ws.php?format=json&method=pwg.images.getInfo&image_id={imageID}

Replace "{your server URL}" with your Piwigo address and "{imageID}" with the image ID you found earlier.

It should spit out a bunch of text (JSON). Could you PM what it spit out to me?
This will help why it's giving a 400.

I'm assuming this is happening to all your images?

Offline

 

#3 2015-04-08 19:04:58

photo_friend
Member
Location: Berlin
Registered: 1970-01-01
Posts: 189

Re: Piwigo iOS version 2.0, beta-test - Download Error

You got a PM.


Maybe to give you a clue: I use 'original_url_protection' and did the .htaccess modification. There must  be another way to download the photo instead to just download direclty the file from the server.
See also:
http://piwigo.org/forum/viewtopic.php?id=24090
http://piwigo.org/forum/viewtopic.php?id=21392
http://piwigo.org/forum/viewtopic.php?id=24077

Thanks a lot
Hagen

Last edited by photo_friend (2015-04-08 19:09:07)

Offline

 

#4 2015-04-09 03:50:27

Hoser
Member
Location: Utah
Registered: 2015-01-14
Posts: 88

Re: Piwigo iOS version 2.0, beta-test - Download Error

I didn't know that the direct URL was public... interesting.

I, personally, don't know another way to get the full resolution image besides the direct image URL (known as the element_url from the web API).

Anyone know another way?

Offline

 

#5 2015-04-19 23:17:01

photo_friend
Member
Location: Berlin
Registered: 1970-01-01
Posts: 189

Re: Piwigo iOS version 2.0, beta-test - Download Error

Anybody any idea? How we can move forward with this issue?

Thanks a lot
Hagen

Offline

 

#6 2015-05-07 23:25:28

photo_friend
Member
Location: Berlin
Registered: 1970-01-01
Posts: 189

Re: Piwigo iOS version 2.0, beta-test - Download Error

Hoser wrote:

I didn't know that the direct URL was public... interesting.

I, personally, don't know another way to get the full resolution image besides the direct image URL (known as the element_url from the web API).

Anyone know another way?

Hello together,

what can we do, that the download is possible? Anybody any idea?

Thanks so much for any support
Best
Hagen

Offline

 

#7 2017-09-09 09:16:24

photo_friend
Member
Location: Berlin
Registered: 1970-01-01
Posts: 189

Re: Piwigo iOS version 2.0, beta-test - Download Error

Hello,

I'm still having the same problem. Any solution for it?

Piwigo version: 2.9.1
iOS App Version: 2.1.2

Thanks for any kind of Support

Offline

 

Board footer

Powered by FluxBB

github twitter facebook google+ newsletter Donate Piwigo.org © 2002-2017 · Contact