Simple Module: easy uploads, editing, and rotates
nkurz
Joined: 2005-08-16
Posts: 12 |
Posted: Tue, 2005-08-23 11:00 | |||
I just threw together a module to make a simpler user interface especially for new users. I'm going to use it for a group album of people contributing photos from a recent wedding. It shows a more streamlined upload process, an edit option without confusing options, and AJAX style photo rotation. The code quality of my module is terrible (I'm new to both PHP and Gallery). I've tested it only a tiny bit, and am sure there are bugs. I've cut corners with serial number checking, so there are lots of potential simultaneity issues. I think it's a decent proof of concept though, and I think it meets my immediate needs. I welcome suggestions for it, though, especially in the hope that someone with more knowledge of Gallery might be inclined to make a real module out of it. Test site is up at: http://test.notate.net/gallery (test site might disappear at any point, so I've attached the module here too) --nate
|
||||
Posts: 16504
Since I can't edit your photos, I don't support you could make and post a screenshot of your interface? This way someone can see if they like it without having to install it first.
Posts: 32509
this stuff sounds very interesting.
could you or nivekiam add it to the user contributions page on codex.gallery2.org? gotta check it out when i'm back in Europe.
Posts: 352
What do you mean you can't edit his photos? He has on his gallery page the userid and password where you can login and play around with it.
Posts: 12
You can edit them. That's why I made a test site . Go to the link and try it out.
If you can't, I set up something wrong. Use the login information in the album description and you should be able to upload, edit descriptions, and rotate.
--nate
Posts: 8601
Added to user contrib.. thanks, nkurz!
The rotate thing got js errors for me in the edit view, though it did appear to rotate when I clicked Change. (moz1.7.5,win2k)
Posts: 16504
Do'h! Helps if I actually read ;)
EDIT: Very cool!
However when I rotate and click Cancel, the changes are not cancelled and the rotation is still made.
Posts: 12
I just tried it with Mozilla 1.7.11 and XP Home (closest I could come up with), but couldn't reproduce the problem you saw. Could you give more details so I could try to figure out the what went wrong?
Thanks!
--nate
Posts: 12
True. I started to put that in, but wasn't sure how to do it. I didn't spend enough time on the existing code to figure out how the 'revert' functionality worked, particularly how one specifies how far it should be rolled back. I'll try to figure that out, as I agree it is confusing.
--nate
Posts: 8601
Just tried FF1.0.6/MacOSX10.4.2 and rotate worked fine.. i'll try my other setup again in a bit.