When any user upl;oad profile photo then phpfox encrypt file name and save ithe file name in database 

how phpfox encrypt normal profile photo filename?

I upload an image ( 8061c948fc23b44a60da488014ab1206%s.jpeg ) file in PF.Base/file/pic/photo folder then go in user table and in user_image i put this filename 8061c948fc23b44a60da488014ab1206%s.jpeg and then login from this user but profile image is broken there. why

Be the first person to like this.
Scheinwelt-Media

you need to put in the year and month folder:

2020/02/yourfilename...

Be the first person to like this.

i think photo will go in multiple folders, as photo on every page is diff size. right? I check these things, one person some pcs are in photo folder some n month year and some in pic folder and with different size

Be the first person to like this.
JohnJr

If I remember correctly they all go in same folder but the ending of the generated images are multiple sizes.  As you can see I did this back in 2013 for pages.

pages/2013/12/4575cbd2048b7c9912f45a769dcd5e7
pages/2013/12/4575cbd2048b7c9912f45a769dcd5e7_50
pages/2013/12/4575cbd2048b7c9912f45a769dcd5e7_200
pages/2013/12/4575cbd2048b7c9912f45a769dcd5e7_120
Be the first person to like this.
JohnJr

what I would do is do a fresh install on your development site and make a single user.  Then start off by adding a profile picture.  Then use firefox to get that image name minus the size (example above it would be 4575cbd2048b7c9912f45a769dcd5e7)  then I would search my entire database for that name.  The search results should show not only what folders and tables they are in but the sizes as well :)

Last update on February 15, 2020 by JohnJr.
Be the first person to like this.

but i notice images are going in some diff folders too

Be the first person to like this.
JohnJr

That is correct as some apps have their own folder for images.  But, I would assume you know what images you want to transfer like profile image, cover image, etc.  I did this once just to make all profile and cover images look the same and have the users upload new ones. Moving to a new system is a very expensive endeavor to transfer everything.

Be the first person to like this.