ramdon of the lasted upload albums? ramdon of the lasted upload albums?
 

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

Main Menu

ramdon of the lasted upload albums?

Started by Piceo2k, March 19, 2007, 03:37:24 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Piceo2k

I use a 1.9.11 version and I like it that when I charge the edit file, was leaving a photo of the last upload albums. I tried with the following code but doesn't turn out that I want.


<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(4,2);
  
$objCpm->cpm_viewRandomMedia (1,4);
  
$objCpm->cpm_viewLastAddedMediaFromCategory (4,2,array("tablestyle" => "test1","imagestyle" => "test1"));
  
$objCpm->cpm_close();


I want that apeared a photo of the last upload album

vuud

Quote from: Piceo2k on March 19, 2007, 03:37:24 PM
I use a 1.9.11 version and I like it that when I charge the edit file, was leaving a photo of the last upload albums. I tried with the following code but doesn't turn out that I want.


<?php
  
include "./cpmfetch.php";
  
$objCpm = new cpm("./cpmfetch_config.php");
  
$objCpm->cpm_viewLastAddedMedia(4,2);
  
$objCpm->cpm_viewRandomMedia (1,4);
  
$objCpm->cpm_viewLastAddedMediaFromCategory (4,2,array("tablestyle" => "test1","imagestyle" => "test1"));
  
$objCpm->cpm_close();


I want that apeared a photo of the last upload album

You want an image from the last added album?  So you mean if you added on an album today, you want a photo from that, even if other photos were added elsewhere?



Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco

Piceo2k

What I want is that each image is of a different album, but of the last ones raised. Bony, if I put so that 8 images are seen, that they are seen of 8 of last the album raised but of different album

Piceo2k

Nobody knows to say to me like doing it? What I want to do is, of last the 8 albums of photos, 1 photo of each album. As it leaves in the gallery, but in mod this.

vuud

Quote from: Piceo2k on March 21, 2007, 01:34:03 PM
Nobody knows to say to me like doing it? What I want to do is, of last the 8 albums of photos, 1 photo of each album. As it leaves in the gallery, but in mod this.

maybe the cpm_viewLastUpdatedAlbumsFrom( ) function would do it.

Search the releasenotes for it.  May or may not work.
Please post for help to the forum... PM me only if you are sending security related items (passwords, security problems, etc).

cpmFetch - Images, RSS feeds from CPG from outside CPG
New release notification signup also. 
See http://cpmfetch.fistfullofco