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
Post a Comment