Ok, thanks for this.
You don't understand what i try to explain to you because it's hard for me to explain.
I do this test.
1 - I have unpublished some pictures for testing in a password protected gallery.
2 - If i'm log this my admin account, i can see all the pictures.
3 - I log me out
4 - I can't access to the gallery, ok it's normal
5 - I log with a other account, not my admin account but a account for some friend like this :
login : a_login
password : a_password
6 - With this "friend" login i access to the private gallery but i don't see the unpublished pictures.
But you're right, the picture are not count this the getNumImages() fonction.. Even if you are log.
I don't know if it's more comprehensive for you now :-)
I was thinking that the function are able to count the picture in a dynamic mode base on your login. But like i said in my first post, it's not very important if it don't works like that.
Regards
Laurent
PS : Si un français me comprend, qu'il propose une meilleur traduction
If a french understand me, can you translate in a better english.