Author Topic: Show the last 6 images  (Read 6343 times)

0 Members and 1 Guest are viewing this topic.

Offline cyber

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Show the last 6 images
« on: September 09, 2002, 05:44:50 AM »
Hi..
It is possible to show IN ANOTHER PHP PAGE the last 6 images?

Like:

IMG1 IMG2 IMG 3
IMG4 IMG5 IMG 6

2 ROW'S 3 COL.

It is?
Can you tell me how?
Tks for all *

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Show the last 6 images
« Reply #1 on: September 09, 2002, 08:38:03 AM »
Change in index.php
Code: [Select]
$num_new_images = $config['image_cells'];
to
Code: [Select]
$num_new_images = 6;
Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline cyber

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
Hi
« Reply #2 on: September 18, 2002, 05:30:24 PM »
Tks for your response..
I wan't to know if it's possible to show the last 6 images in another php page.

TKs

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Show the last 6 images
« Reply #3 on: September 18, 2002, 05:45:12 PM »
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search

Offline cyber

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
iNfo
« Reply #4 on: October 15, 2002, 07:22:16 PM »
Jan how i put to show the last 4 pictures like that see:

| 1 | 2 | 3 | 4|

Because when i put 4 i see:

| 1 | 2 | 3 |
|4|

Tks

Offline Jan

  • Administrator
  • 4images Guru
  • *****
  • Posts: 5.024
    • View Profile
    • 4images - Image Gallery Management System
Show the last 6 images
« Reply #5 on: October 15, 2002, 07:40:40 PM »
If you want 4 images in one line, change "Image table cells" in your settings to 4. If you want 4 images per line only on the home page, add in index.php before:
Code: [Select]
$imgtable_width = ceil(intval($config['image_table_width']) / $config['image_cells']);
this:
Code: [Select]
$config['image_cells'] = 4;

Jan
Your first three "must do" before you ask a question:
1. Forum rules
2. FAQ
3. Search