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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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