Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
Hi i want to make a photogallery with album... upload photo delete photo should be there...

admin would upload photo and cud delete photos. the user would be able to view photos and add comment to that.

please help me.. its really very urgent. I dont know .net 4.0 but using it. But i want the code for .net 2.0 as i need to deliver it within two days.
Posted
Updated 1-Jun-11 3:35am
v2
Comments
Abhinav S 1-Jun-11 9:02am    
Did you try anything yet?
Member 7929750 1-Jun-11 9:04am    
yes i tried AlbumOnNet, and lots of photoalleries. but dont know whats the problem with that... actually i am new to asp.net and not very good in coding...
Rob Branaghan 1-Jun-11 9:03am    
Good tip, dont put that it is really urgent, it winds some people up on here.
Member 7929750 1-Jun-11 9:05am    
ok.... sorry
Rob Branaghan 1-Jun-11 9:07am    
Its ok, Its just that some people will down vote your question for it. Just thought I would give you a heads up.

On the subject of your question, try downloading a starter kit and learn how it is written. You can buy books that go with the starter kits from amazon.

OK. You're going to need the following:

A database to store details of the photos, along with who owns which photos.
A page to load the photos in (I would rename the photo to a unique name if I were you, so that you don't get name clashes - you map the unique name to the original name so that the user can download it with the original name if needed).
A page to display the photos the current user has rights to see along with a link to edit the details of the photo (this may open up a new page to change the details).
Roles and user management (search online for membership and role providers)
Some navigation, e.g. a sitemap and menu.

This is the absolute minimum you are going to need.
 
Share this answer
 
Comments
BobJanova 1-Jun-11 9:48am    
Good answer.

I'd just add that the OP also requests comments on pictures; that should also go in the database. And uploading/storing images is non-trivial, judging by the number of questions on that topic we seem to see.
Laurence1234 1-Jun-11 12:24pm    
For uploading and storing images into an SQL DB couldn't you just store a byte array then convert it back to a bitmap when you query the database?
That's how I'd do it anyway.
Sergey Alexandrovich Kryukov 1-Jun-11 16:28pm    
Nice plan. Exactly for two day! :-) My 5.
--SA
http://www.asp.net/community/projects[^]

Starter Kits.
TheBeerHouse.

This shows how to create a CMS / ECommerce site, you can learn from this how to store images and manage things.

It isnt EXACTLY what you want, but it will help you on your way.


http://www.asp.net/downloads/starter-kits/the-beer-house[^]
This one is featured in the book
http://www.amazon.com/gp/product/0764584642?ie=UTF8&tag=aspnettelligent-20&linkCode=as2&camp=1789&creative=9325&creativeASIN=0764584642[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900