Advanced search  

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

Pages: [1]   Go Down

Author Topic: [Solved]: fetch uploaded photo (fullsize)  (Read 3494 times)

0 Members and 1 Guest are viewing this topic.

eris667

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • http://www.strm.us/cpg15x/index.php
[Solved]: fetch uploaded photo (fullsize)
« 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
« Last Edit: August 26, 2009, 08:50:55 am by Joachim Müller »
Logged

eris667

  • Coppermine novice
  • *
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 47
    • http://www.strm.us/cpg15x/index.php
Re: fetch uploaded photo (fullsize)
« Reply #1 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

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: [Solved]: fetch uploaded photo (fullsize)
« Reply #2 on: August 26, 2009, 08:51:14 am »

Thanks for resolving your thread.
Logged
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 19 queries.