So, you are saying I have to create a new album for every picture?
That doesn't make any sense.
I use batch upload of 400 pictures into 1 album.
I need to use cpmfetch to pull one of them. The same one, every time, by PID
Quote from: bcddd214 on February 04, 2007, 08:22:18 PM
all of this information is completely useless if you have 120 pictures in a category and you only what to pull one particular picture out!
[snip]
Doesn't help one bit....
I am starting to think someone put you up to this, or I actually know you and this is a joke.
You just posted a snippet of the documentation related to showing where to get photos from and said it does not help with something completely different.
Quote from: bcddd214 on February 04, 2007, 09:58:59 PM
So, you are saying I have to create a new album for every picture?
That doesn't make any sense.
I use batch upload of 400 pictures into 1 album.
I need to use cpmfetch to pull one of them. The same one, every time, by PID
You said you read the docs...
http://www.fistfullofcode.com/projects/copperminefetch/manual/ch07s03.html
cpm_viewMediaByPid($pid, [array $options=""])
This function allows one image to be retrieved from the gallery and displayed by calling its PID number.
No, just the information published is useless.
If you are trying to preform a simple task.
I have a website with hundreds of photos cataloged.
I batch upload them to coppermine.
in various places of my website I want to suck one of those pictures into a html or php file using the nice resolution and thumbnail features of cpmfetch.
Not a whole gallery
not changing randomly
one picture via picture id
I don't want it to bring up the last picture posted
I don't want to bring up the last viewed picture.
I want to bring up 1 picture from the coppermine/mysql library based on pid.
Quote from: bcddd214 on February 04, 2007, 10:07:01 PM
I don't want it to bring up the last picture posted
I don't want to bring up the last viewed picture.
I want to bring up 1 picture from the coppermine/mysql library based on pid.
Oooohhh, you just want to bring one up based on pid! Why didn't you just say so!
See this post, it covers it in great detail
http://forum.coppermine-gallery.net/index.php?topic=39817.msg194027#msg194027
Regards,
Vuud
that link just brings me up to this same post...
Quote from: bcddd214 on February 04, 2007, 10:11:09 PM
that link just brings me up to this same post...
... and that post answers your question... How to show a particular image by its PID.
Can you possibly put it in example format?
I replace the variable with the PID number and get an error!
Quote from: bcddd214 on February 04, 2007, 10:19:15 PM
Can you possibly put it in example format?
I replace the variable with the PID number and get an error!
Maybe it would be easier if you posted the actual error...
You've done nothing by complain, and hijack threads since I got here today.
Your sense of entitlement, while impressive, is getting annoying.
Quote from: vuud on February 04, 2007, 10:28:05 PM
Maybe it would be easier if you posted the actual error...
You've done nothing by complain, and hijack threads since I got here today.
Your sense of entitlement, while impressive, is getting annoying.
A sample of your code could also be helpful in figuring out where things have gone wrong.
Ironic that this is in the "Sheer lazyness not to be tolerated" thread.
Erm, little moderation suggestion: bcddd214 is constantly replying with his individual issues on a sticky announcement thread that deals with something completely different, I suggest splitting this thread accordingly. ::)
Quote from: GauGau on February 05, 2007, 08:06:50 AM
Erm, little moderation suggestion: bcddd214 is constantly replying with his individual issues on a sticky announcement thread that deals with something completely different, I suggest splitting this thread accordingly. ::)
Why bother, he has another thread with the same line of questioning going. Maybe two
:)
Vuud,
Just a note to say thanks, that I'm truly enjoying
cpmfetch once I got the fetch scripts configured.
Running it on 3 different sites with vertical random
images from 4 albums.
Great Job, and thanks again...
de