Thanks Kenneth,
The code which you sent for count the number of images is working fine.......
Regarding my First post of downloading a file
Suppose a user came and make a new category folder of "tours to canada"
and now he upload the related photos in it......
Now suppose he is accessing some different laptop which does not have that
folder and want to downloads that folder i.e "tours to canada" from his
account...
so how he can downloads that folder....