Manual:Imagelinks table

The imagelinks table stores all the links to images. This is good for a variety of functions, from link caching in the output functions to the "what links here" page.

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type            | Null | Key | Default | Extra |
 * il_from | int(8) unsigned | NO  |     | 0       |       |
 * il_to  | varchar(255)    | NO   |     |         |       |

il_from is the page_id of the page the link is on. il_to is the title of the file being linked to.

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type            | Null | Key | Default | Extra |
 * il_from | int(10) unsigned| NO  | PRI | 0       |       |
 * il_to  | varchar(255)    | NO   | PRI | NULL    |       |

+-+-+--+-+-+---+ +-+-+--+-+-+---+ +-+-+--+-+-+---+
 * Field  | Type            | Null | Key | Default | Extra |
 * il_from | int(8) unsigned | NO  | PRI | 0       |       |
 * il_to  | varchar(255)    | NO   | PRI | NULL    |       |