sql - Managing images (upload, description and order) - webmatrix/razor -


i creating site users upload pictures of houses. i'm guessing best way achieve this, have database table, , when users upload photo's, saves destination , href in database right?

what if uses wanted change around order of how photo's appear, best way achieve this, there api it, or pre-written code?

thanks, gavin

you have table in database store preferred order of images each user. contain user id, image id , order columns. or if image associated user record, add order column users table.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

javascript - Get parameter of GET request -

javascript - Twitter Bootstrap - how to add some more margin between tooltip popup and element -