[Solved]: fetch uploaded photo (fullsize) [Solved]: fetch uploaded photo (fullsize)
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

[Solved]: fetch uploaded photo (fullsize)

Started by eris667, August 26, 2009, 07:08:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eris667

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

eris667

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

Joachim Müller