There seems to be a problem with the iOS app displaying images that have long file names with spaces in them. The thumbnails won't load and if you try to download the image you get the following error:
Download Fail
Failed to download image! unsupported URL
Offline
Thanks for the feedback!
Could you post the name of the image(s)?
This will help me test this issue.
Offline
Here are some examples from my screenshots:
2014-03-01 15_33_17.png
Alton Brown autographed tour photo.jpg
Alton Brown Live Meet-and-Greet pass (front).jpg
Alton Brown Live Meet-and-Greet pass (back, autographed).jpg
1986-07-06 Grand Prix.jpg
1990 AOSFB Buckeye Brass.jpg
Offline
Thanks.
Unfortunately I can't reproduce this problem. The way the app loads images is from the URL that Piwigo gives it.
The only reason I can think that would cause the thumbnail to not appear and the full size image URL not existing is because the API returned no URL for that image.
I'll add some functionally to show if there's no data/URL for a specific image.
Offline
The URLs look fine, at least when I browse through a normal web browser.
Still trying to figure out a pattern. It looks like maybe it's a long filename combined with a description in Piwigo? Another possibility is that some of these images are not photos (ie., not taken with a camera) but scanned or created in graphics programs. Maybe the lack of EXIF or other "photo-ness" attributes is a contributor?
Finally, does theme choice affect the iOS app? I would guess not but I want to eliminate GreyDragon as a possible source of the issue when viewing my gallery through the mobile app.
Offline
If you install build 4, does it display "Error No Data" on the thumbnail?
I have images in my Piwigo that were created in photoshop and they display fine.
Themes shouldn't effect the app unless they change the way the API works, which I doubt many do; but it might be the problem... there's just a lot of factors.
Offline
I've got Build 4 installed, but the missing thumbnails still look the same, just the default gray mountains image, no message about "no data" on them.
Offline
In your piwigo web viewer, go to the 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 give what it spit out to me? This would help a lot!
Offline
E-mail sent with requested sample JSON. Hope it helps! Thanks for looking into this.
Offline
Ok. That helped!
It looks like those images are under a "gallery" folder that's normally used for FTP.
-- How did you get a file uploaded in a gallery with spaces in it?
I'll look into this. I think the URL's aren't being transcoded correctly.
Last edited by Hoser (2015-03-26 23:42:18)
Offline
I was a former Gallery 3 user so I imported everything from that into Piwigo. I use physical albums, not virtual ones, so I don't upload anything. I put the images into the folders I want and then synchronize.
Offline
Confirming this is fixed in Build 5, thanks!
Offline