News:

Wieners, Brats, Franks, we've got 'em all.

Main Menu

ospap - Alpha1

Started by iago, September 14, 2005, 06:46:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iago

ospap = Open Source Photo Album Program. 

Well, I have something that works.  I'll let y'all give it a try, if you want. I have a demo site set up:
http://www.javaop.com/~iago/ospap/index.php
Or you can download the source:
http://www.javaop.com/~iago/ospap.tgz

To run it yourself, you need the "imagemagick" program installed (specifically, the 'convert' utility).  Using that was faster and easier than gd, so I'm sticking with it for now.  Plus, gd tended to crash on larger images, and that just wasn't cool!

What I need to do:
- Remember the last category used. - done
- Allow comment posting. - done
- Add a button to promote/demote users to/from admin (this can be done with admin.php?action=promote&user_id=##).
- Let a user mark their images as "private"
- Allow users to delete their own images/categories (or admins delete them)
<edit> - Make default background color of JPEG's not-black.  - don't think it's possible

Any other suggestions would be great!

Also, keep an eye out for XSS or SQL Injection or doing things a dumb way.  This is the first time I ever used PHP, so I might be doing some things wrong. :)

The Demo site doesn't require admin authorization (which will be required in the final version). Do what you want with it, and try to break it.  I'm going to wipe it before I call it done anyways. 


Good luck!

Quik

Looks neat.

In your directory, what's that glowing thing in your lap? ;)
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

iago

There are no pictures of me. 

Read the caption!

Blaze

#3
Add line breaks in the error messages. :P

edit:
http://www.javaop.com/~iago/ospap/show_picture.php?picture_id=4#picture

Good work!  :-*
And like a fool I believed myself, and thought I was somebody else...

iago

Quote from: Blaze on September 14, 2005, 07:21:54 PM
Add line breaks in the error messages. :P

edit:
http://www.javaop.com/~iago/ospap/show_picture.php?picture_id=4#picture

Good work!  :-*

Which error message? 

<edit> New rule: No WoW stuff! ;)

Blaze

Quote from: iago on September 14, 2005, 07:39:52 PM
Which error message? 
Failed Login

Quote from: iago on September 14, 2005, 07:39:52 PM
<edit> New rule: No WoW stuff! ;)
It was a test... and it worked.
And like a fool I believed myself, and thought I was somebody else...

iago

Oops, that message was for debugging, it shouldn't have even been there.  I fixed it. 

Quik

Quote from: iago on September 14, 2005, 07:14:58 PM
There are no pictures of me.

Read the caption!


Haha, should have realized it was wires!
Quote[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

iago

Once I'm satisified with the whole thing, I'll post some pictures of myself.  Hopefully by early next week. 

Towelie

what about guild wars pictures :-) ???

AntiVirus

I guess I should delete my post that I posted right before I read this.. Lmao!!
The once grove of splendor,
Aforetime crowned by lilac and lily,
Lay now forevermore slender;
And all winds that liven
Silhouette a lone existence;
A leafless oak grasping at eternity.


"They say that I must learn to kill before I can feel safe, but I rather kill myself then turn into their slave."
- The Rasmus

rabbit


Blaze

Add a last updated timestamp on the users sections.
And like a fool I believed myself, and thought I was somebody else...

iago

Quote from: Blaze on September 14, 2005, 11:35:50 PM
Add a last updated timestamp on the users sections.

That'll be a little trickier, but for sure!  I'll do that tomorrow. 

rabbit