Fetch slideshow from a album in thumb size ? Fetch slideshow from a album in thumb size ?
 

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

Fetch slideshow from a album in thumb size ?

Started by niks_007, November 30, 2006, 02:11:14 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

niks_007

hi.......
         Is it possible to fetch thumb size slideshow from a album or last updated album. and gives a hyperlink to that album.

Thanks
Nishant

Joachim Müller

You can fetch the thumbnails of any given album (and of meta albums as well afaik). The surrounding HTML (the slideshow code) is yours to design. If you have no clue how to accomplish this, use one of the many slideshow scripts that already are available for free (e.g.  from http://dynamicdrive.com/dynamicindex14/index.html) - just use the data fetched by cpmFetch to populate the JavaScript pic arrays. It's up to you as well if the links are clickable or not.

vuud

Quote from: GauGau on November 30, 2006, 04:08:29 PM
You can fetch the thumbnails of any given album (and of meta albums as well afaik). The surrounding HTML (the slideshow code) is yours to design. If you have no clue how to accomplish this, use one of the many slideshow scripts that already are available for free (e.g.  from http://dynamicdrive.com/dynamicindex14/index.html) - just use the data fetched by cpmFetch to populate the JavaScript pic arrays. It's up to you as well if the links are clickable or not.

You can also just get back an array of data from cpmfetch and wrap that into a slideshow...

there is no official cpmfetch slideshow solution though

I think there was a thread on it in here somewhere though...
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

freynolds

This is a nice idea, I've alrdy installed cmpfetch in my webpage, what code I need to fetch the array of data?

thx

vuud

Quote from: freynolds on December 08, 2006, 06:09:22 PM
This is a nice idea, I've alrdy installed cmpfetch in my webpage, what code I need to fetch the array of data?

thx

Put this before you call for images

$objCpm->cpm_setReturnType('resultset');

Then your calls return an array.  Use print_r to see the contents
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

niks_007

Thanks you all
I have tried but as not a professional programmer i couldn't able to get success can you give me some more hint about it so i can do that. write now i am using following code to fetch last added images from gallery and here i have only mentioned the category not the album.

<?php
include "getimage/cpmfetch.php";
$objCpm = new cpm('/wallpapers');
$options = array( 'imagewidth' => '120','imageheight' => '90', 'alttag' => '%t Movie Wallpapers Download', "tablestyle" => "table", imagestyle =>"img");
$source = "cat=6";
$objCpm->cpm_viewLastAddedMediaFrom (1,2,$source,$options);
$objCpm->cpm_close();
?>


Thanks
Niks