05-22-2009, 10:27 PM
|
#13 (permalink)
|
|
The Contributor
Join Date: May 2009
Posts: 53
Thanks: 2
|
Alright, I get the idea of this!
I suppose I'm gonna do somehting like 5 fields:
1. ID
2. Thumb [0 if this is not the thumb, 1 if this is the thumb]
3. Picture [The picture url, left blank if Thumb == 0]
4. Picture Description [Will be what's in the <a title='' /> in the Thumb]
5. Bound To [The gallery the pictures are bound to, the ID of the thumb] In the PHP I will only have 2 IF's
Quote:
if [thumb == 1] [
Make a Thumbail, which creates a gallery that pictures can bind to.
]
if [thumb == 0] [
Links those images to the Thumbail that it's [bound to] in the MySQL
]
|
|
|
|