Sedang Disiapkan

219306 SHA1 based photo gallery

Hashgallery

I started on it, but do not have time to finish it, and so I have code snippets as well as detailed description of the project.

Basically, a barebones gallery based on the unique concept that the files will be renamed to their SHA1 values and thus, the file will carry with it, the innate knowledge of its own link name.

So a file named "[url removed, login to view]" might have a hash value of 091E01046BCCA9829BCB9DCBC47F583880FF8AE6 and thus renamed to "[url removed, login to view]". This then becomes the permalink to the file. In this way, no matter what happens, to the name of the file, you can always regenerate this hash by hashing the file itself, thus even with a completely meltdown of the server or db, the permalinks will never die.

This gallery will be primarily designed for use in conjunction with blogs, so a permalink is important.

Unlike gallery2, which died on me when the albums got really big, this gallery will be able to support hundreds of thousands of images. Using a php program called ultratree, a file directory tree is created in php with only 1 db query.

Album will allow for bulk .zip file upload, or individual file upload. Folder creation and subfolder creation, folder movement etc.. It will also allow for sorting of images via DHTML like

[url removed, login to view]

I would like the db interface though to be abstracted to support other db's in the future.

php code snippets available and included.

More detailed description included in the description file.

Kemahiran: Semua Boleh, PHP, SQL

Lihat lebih lanjut: unique photo, tree query, tree index, photo gallery html code, named query, index tree, what is a subfolder, sql based, Sha, query creation, photo name, db query, thousands php project, photo html, sql unlike, creation concept, photo description, php upload photo code, html gallery photo, query sql tree, query based time sql server, code photo album program, directory tree php, hash tree code, innate

Tentang Majikan:
( 1 ulasan )

ID Projek: #1965539