Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No thumbnails in Piwigo NG 2.2.1 #168

Open
Nologist opened this issue Aug 20, 2023 · 5 comments
Open

No thumbnails in Piwigo NG 2.2.1 #168

Nologist opened this issue Aug 20, 2023 · 5 comments

Comments

@Nologist
Copy link

Hi again,

sorry to report another bug, but in the current version available on Google Play there's an issue with the Thumbnail presentation.
This feature seems to be broken since 2.2.1. Right after the update, the Thumbnails of newly uploaded files appeared to be missing and had a default icon like that:
Screenshot_20230820_124011
I haven't used the app's (auto-)upload feature yet, so it's not related to that.
When I cleared the app's cache, almost all of the Thumbnails turned looking like that and only a few ones have been regenerated.
I've checked the Piwigo Web App to see if there's a problem with the backend. Though, everything is fine there.
As your latest change notes refer to Thumbnails, I assume that the fix might have corrupted anything else.

Best regards
Sven

@remi-martin
Copy link
Collaborator

Fixed in 2.2.2

@remi-martin
Copy link
Collaborator

Howerver, it would be great to have the url of a Piwigo with this issue in order to understand why the image urls when unreadable.

@Nologist
Copy link
Author

Nologist commented Aug 21, 2023

My Piwigo isn't exposed to the internet, so I'm afraid I cannot give you direct access.
However, here's a partial response of my piwigo's "getImages" method. I guess that's what you need, isn't it?

{
  "is_favorite": false,
  "id": 12654,
  "width": 4000,
  "height": 3000,
  "hit": 1,
  "file": "20230820_173903.jpg",
  "name": "20230820 173903",
  "comment": null,
  "date_creation": "2023-08-20 17:39:03",
  "date_available": "2023-08-20 16:30:03",
  "page_url": "http://piwigo.local/picture.php?/38249",
  "element_url": "http://piwigo.local/upload/2023/08/20/20230820163003-4ba522ea.jpg",
  "derivatives": {
    "square": {
      "url": "http://piwigo.local/_data/i/upload/2023/08/20/20230820163003-4ba522ea-sq.jpg",
      "width": 120,
      "height": 120
    },
    "thumb": {
      "url": "http://piwigo.local/_data/i/upload/2023/08/20/20230820163003-4ba522ea-th.jpg",
      "width": 144,
      "height": 108
    },
    "2small": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-2s.jpg",
      "width": 240,
      "height": 180
    },
    "xsmall": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-xs.jpg",
      "width": 432,
      "height": 324
    },
    "small": {
      "url": "http://piwigo.local/_data/i/upload/2023/08/20/20230820163003-4ba522ea-sm.jpg",
      "width": 576,
      "height": 432
    },
    "medium": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-me.jpg",
      "width": 792,
      "height": 594
    },
    "large": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-la.jpg",
      "width": 1008,
      "height": 756
    },
    "xlarge": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-xl.jpg",
      "width": 1224,
      "height": 918
    },
    "xxlarge": {
      "url": "http://piwigo.local/i.php?/upload/2023/08/20/20230820163003-4ba522ea-xx.jpg",
      "width": 1656,
      "height": 1242
    }
  },
  "categories": [
    {
      "id": 28,
      "url": "http://piwigo.local/index.php?/category/28",
      "page_url": "http://piwigo.local/picture.php?/38249/category/28"
    }
  ]
}

@Nologist
Copy link
Author

Nologist commented Sep 8, 2023

Did it help? Do you need any more infos?

@LintyDev
Copy link

Hello,

We have released a new version of PiwigoNG, can you please update to see if the problem is still present or not.

Have a nice day!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants