Greetings,
I can't upload photos from the iPhone to the server. There should be a small "+/add" icon at the bottom if I understand correctly? I don't have it.
Mobile app v 2.12.7 on iOS 16.4
Piwigo 13.6.0 Check for upgrade
Installed on 18 September 2022, 6 months 3 weeks 6 days ago
Operating system: Linux
PHP: 7.2.24 (Show info) [2023-04-15 20:55:35]
MySQL: 5.5.5-10.3.35-MariaDB [2023-04-15 16:55:35]
Graphics Library: GD 2.2.5
Cache size N/A never calculated Refresh
Thanks in advance!
Offline
Are you logged into your site in the app? I can see the button (although I never use it since I use physical albums) in the bottom right-hand corder next to the Home icon. You also need to be in an album to upload it looks like. If you're at your root level, the button there is to add a new root-level album.
Offline
@windracer thanks for responding. Yes, I am logged in. There is no button at all at the root level and inside an album I can only see the "Home" button (to return to the root level).
Offline
Weird, not sure. Have you tried deleting and re-installing the app? Maybe there's some privacy setting or something that's blocking it?
Offline
Yes, I have. Weird indeed.
Offline
Well, that was somewhat self-inflicted. I grep'ed through the admin php files and discovered that the upload functionality is turned on for users with "Webmaster" role. I changed it and now I can upload.
Offline
Glad you figured it out! I guess permissions do make sense, didn't think of that.
Offline
iggsterman wrote:
Well, that was somewhat self-inflicted. I grep'ed through the admin php files and discovered that the upload functionality is turned on for users with "Webmaster" role. I changed it and now I can upload.
I've same issue, app says it worked with "Community". Can you guide me how to edit upload function for all roles?
Thank you
Offline
Please configure Community in Plugins / Community / Upload Permissions by adding permissions to visitors, registered users or groups of users.
In each case, specify in which album(s) a visitor, user or group can upload photos and create sub-albums. Based on the level of trust you select, uploaded photos will have to be moderated or not by an administrator.
All the best
Offline