Jump to content

Image website in concept...need ideas here.


Lt_Wolf

Recommended Posts

I am currently working on a new website of mine, after my last one (a PBBG type game) failed.  Part of this website is going to be an image archive (think holybug.com). 

 

I want to have sub-categories for the images, but to still have a "view all" option.

 

My current idea is to give each image a name such as: bg-####.gif, the # symbols being it's assigned number.  For the every pic option, they will be selected in order of row ID.

 

For sub-categories (such as "Funny", "Video Games", "Military", "Misc", etc), they will each be assigned a number 1+.

 

The archive table in the mysql will be set up like this:

 

bgID --------It's assigned number

bgURL ------- Assigned URL

bgSUB ------- Sub category type

bgDESC ------ Description, or title associated with the picture.

 

 

 

Before I dive into this with that setup, does anyone else have a better idea?

Link to comment
Share on other sites

still absurb though bout this topic... but here my doing

 

1. create table =>

 

table_directory

  id

  name_directory

 

table_img

  id

  id_directory

  name

  filename

 

2. create directory on ur system, which special for this file upload.

 

3. creating form for maintain directory or/and upload file... like mambo or jomla component for uploading media picture.

 

4. for maintain category or subcat... u can add another table for storing category stuff...

 

5. good luck

 

hope this helpfull  8)

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.