coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: eris667 on August 26, 2009, 07:08:34 AM

Title: [Solved]: fetch uploaded photo (fullsize)
Post by: eris667 on August 26, 2009, 07:08:34 AM
I can get it to fetch thumbnails. . .
http://www.strm.us/cpm.php (example to show it is working)
but how do I retrieve the full size, original uploaded file? (not thumb_ or normal_)

Am I trying to go about this wrong. . .should I be using resize instead?

Sorry for the simple example / and possibly simple question, I did do a search before hand and I could not find anything relevant.

Mike
Title: Re: fetch uploaded photo (fullsize)
Post by: eris667 on August 26, 2009, 07:20:52 AM
Please flogg me now. . .
I found my answer in the docs :(

Sorry - was looking for:
  $options = array( 'imagesize' => 'large' );
  $objCpm->cpm_viewRandomMediaFrom("cat=1",1, 1, $options);

DOH !!

Mike
Title: Re: [Solved]: fetch uploaded photo (fullsize)
Post by: Joachim Müller on August 26, 2009, 08:51:14 AM
Thanks for resolving your thread.