Admins may upload additional files (such as PDF, txt, etc.). So, this page should display only jpg,, jpeg, png, etc. (only image files). Every other file should be ignored.
SERVER_DIRECTORY/schools
In the above folder, every school has a number.
With in that numbered folder, there will be images and other files. One file will be named as "profile_image.jpg".
So, one upload directly to the server through FILEZILLA and the system would automatically pick up these images while displaying.
https://learnandhelp.jasthi.com/school_details.php?School_Id=26
Admins may upload additional files (such as PDF, txt, etc.). So, this page should display only jpg,, jpeg, png, etc. (only image files). Every other file should be ignored.
SERVER_DIRECTORY/schools
In the above folder, every school has a number. With in that numbered folder, there will be images and other files. One file will be named as "profile_image.jpg". So, one upload directly to the server through FILEZILLA and the system would automatically pick up these images while displaying.