Author Topic: How to show last uploaded images on index page  (Read 5572 times)

0 Members and 1 Guest are viewing this topic.

Offline casper01

  • Newbie
  • *
  • Posts: 22
    • View Profile
How to show last uploaded images on index page
« on: March 16, 2008, 01:36:00 PM »
    
 Hi, How can I  show last ex. 20 uploaded images (without thumbnails - only name of images) on index page.???

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to show last uploaded images on index page
« Reply #1 on: March 16, 2008, 02:11:20 PM »
... in index.php use in section --- Show New Images --- instead ...
Code: [Select]
$new_images .= $site_template->parse_template("thumbnail_bit");
... this ...
Code: [Select]
$new_images .= $site_template->parse_template("thumbnail_bit_index");
... then make a copy of your "thumbnail_bit.html" and rename it "thumbnail_bit_index.html" ...
... now edit your new "thumbnail_bit_index.html" to your needs ...
... now it is possible to show only ...
Code: [Select]
{image_name}

Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...

Offline casper01

  • Newbie
  • *
  • Posts: 22
    • View Profile
Re: How to show last uploaded images on index page
« Reply #2 on: March 16, 2008, 05:14:42 PM »
Thank's. It's work but it is not wath I meen.I ,meen to show new images on index page like ex. "Top 10 images by downloads"...

Offline mawenzi

  • Moderator
  • 4images Guru
  • *****
  • Posts: 4.500
    • View Profile
Re: How to show last uploaded images on index page
« Reply #3 on: March 16, 2008, 06:13:15 PM »
... I'm litte confused ...
... in your first post -> only image name ...
... in your second post -> like top 10 ...
...  :roll: ...
... then edit the tablecode in index.php in section --- Show New Images --- to your needs ... e.g. only one column ...
... and edit your  "thumbnail_bit_index.html" with a table ... e.g. only one row ...
... and use in this table the image tags you need ...
... so it looks like "Top 10" ...
Your first three "must do" before you ask a question ! ( © by V@no )
- please read the Forum Rules ...
- please study the FAQ ...
- please try to Search for your answer ...

You are on search for top 4images MOD's ?
- then please search here ... Mawenzi's Top 100+ MOD List (unsorted sorted) ...