Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Any Latest Photos Plugin?  (Read 7900 times)

0 Members and 1 Guest are viewing this topic.

BritneyFM

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Any Latest Photos Plugin?
« on: June 14, 2008, 12:34:38 pm »

Hello,

I would like to display my 5 or 4 latest photos, on my index page of my website.
Is that possible somehow?
Logged

BritneyFM

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Any Latest Photos Plugin?
« Reply #1 on: June 14, 2008, 12:39:05 pm »

Hello,

I would like to display my 5 or 4 latest photos, on my index page of my website.
Is that possible somehow?

In thumbnails btw
Logged

Nibbler

  • Guest
Logged

BritneyFM

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Any Latest Photos Plugin?
« Reply #3 on: June 14, 2008, 01:05:24 pm »

Logged

BritneyFM

  • Coppermine newbie
  • Offline Offline
  • Posts: 17
Re: Any Latest Photos Plugin?
« Reply #4 on: June 14, 2008, 01:16:22 pm »

I installed...
Whats the include code for my index?

Nevermind found it...

Now it displays my 4 latest images in a row, but i want "2 images <br> 2 images"
My sidebar table looks screwed up now :/
Logged

fangweile

  • Coppermine frequent poster
  • ***
  • Country: 00
  • Offline Offline
  • Posts: 103
  • Saranghaeyo ^_^
    • All Koreans - Home of Korean Actors and Actresses
Re: Any Latest Photos Plugin?
« Reply #5 on: June 14, 2008, 02:10:18 pm »

$objCpm->cpm_viewLastAddedMedia(6,1);

The no. 6 is the number of rows per images to show.
The no. 1 is the no of columns per to show the images.

your code must be like this

$objCpm->cpm_viewLastAddedMedia(2,2);
Logged
[My Coppermine Galleries]
All Koreans, Lim Eun-kyeong's IFC
Saranghae 김태희
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.