ZnoteAAC
ZnoteAAC copied to clipboard
Gallery, character search suggestion/question
How about adding live search, when you type something it will show live. Something like this; http://www.w3schools.com/php/php_ajax_livesearch.asp Any opinions about this?
Gallery Why is gallery working only with imgland.net, is it like that for security reasons or? I've reading a bit about this uploading now thingy now and I know that the default "upload file" could be potentially harmful if written badly, but those issues could be avoided quite easily.
I am not professional at this subject, so maybe somebody could tell me more about this subject.
Is there any real advantage if the pictures would upload to database, not to X folder. If you're open for the "upload image" gallery I've got some suggestions. -- Admin would have to accept or deny the pictures that have been uploaded -- Max amount of pictures that account or ip well, why not both could upload per day -- Gallery sliding images.
If we wanna make it real fancy, (just really nice) - we could make it something like this; http://www.script-tutorials.com/facebook-like-photo-gallery-with-comments/
Example; instead of your name => character name => would show only X amount of comments per default, if there's more than x amount, there could be a button for "load more" or just pagination.
Please tell me your opinions, I can start working on this things and make pull request when I feel that they are somewhat ready. Then you could comment the shit out of the files and I can do the changes that the files would require.
Live search: too query demanding.
Why use imgland.net?
- Service was created primary for the purpose of image sharing in the OT community.
- The images will be downloaded from imgland.net instead of us. We save loads of bandwidth.
- Imgland is reliable, in most cases more reliable than your OT host. As OT servers die on monthly basis, imgland has been going strong for 4 years.
- We help promote imgland.net, which compared to other sites such as tinypic, imageshack etc is way better. imgland has no advertisement shit like the rest, and is quick.
- imgland.net is created by Feloth, who is a great guy from our OT community. He has also created imgsnapper, which is a very convenient snapshot program which allows you to instantly take a picture and host it to imgland: http://otland.net/threads/imgsnapper-online-screenshot-program.113559/ Feloth is currently inactive tho, I don't know how long his services will remain up. But for now there is a clear advantage to it and I would like to continue using it.
Why not host the images yourself?
- High bandwidth usage will lead to more ping/lag for players.
- Takes much space from hard drive. Especially for small SSD VPS servers.
- Security can be a bitch, and if done properly (parse file header data etc) it will also take a noticable toll on CPU on big images.
- May run into issues where you have files uploaded on server that is copyrighted materials, or pornographic content. Some server locations don't like that at all. Linking to such materials is safer than storing the materials.
Why not allow other sites such as tinypic or imageshack?
- Because they are usually much slower
- Annoying ads
- Images tend to suddenly get taken down for no apparent reason.
- We want people to move over to imgland.
Fancy AJAX things: If you are interested in playing around with this, keep in mind that jquery or any javascript libraries cannot be used. (only for custom layouts). So if you want to make a fancy gallery page, you need to create a small ajax system with vanilla/plain javascript code. The gallery page also needs to look nice on all compatible layouts, even if they have no provided CSS code, and if they do update their layouts, they should have access to override gallery CSS rules to fit their layout.