Advanced search  

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]

Pages: [1]   Go Down

Author Topic: [Solved]: fetch uploaded photo (fullsize)  (Read 3674 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.023 seconds with 20 queries.