Simple Module: easy uploads, editing, and rotates
nkurz
Joined: 2005-08-16
Posts: 12 |
![]() |
|||
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
|
||||
nivekiam
![]()
Joined: 2002-12-10
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. |
||||
valiant
Joined: 2003-01-04
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. |
||||
shocksll
![]()
Joined: 2005-06-22
Posts: 352 |
![]() |
|||
nivekiam wrote:
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. 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. |
||||
nkurz
Joined: 2005-08-16
Posts: 12 |
![]() |
|||
nivekiam wrote:
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. You can edit them. That's why I made a test site --nate |
||||
mindless
![]()
Joined: 2004-01-04
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) |
||||
nivekiam
![]()
Joined: 2002-12-10
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. |
||||
nkurz
Joined: 2005-08-16
Posts: 12 |
![]() |
|||
mindless wrote:
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) 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 |
||||
nkurz
Joined: 2005-08-16
Posts: 12 |
![]() |
|||
nivekiam wrote:
However when I rotate and click Cancel, the changes are not cancelled and the rotation is still made. 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 |
||||
mindless
![]()
Joined: 2004-01-04
Posts: 8601 |
![]() |
|||
Just tried FF1.0.6/MacOSX10.4.2 and rotate worked fine.. i'll try my other setup again in a bit. |
||||