forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: faminsk on April 19, 2008, 08:14:52 pm

Title: Creating link from meta album
Post by: faminsk on April 19, 2008, 08:14:52 pm
I had this post originally in the cpmFetch area, but I don't think it is a cpmFetch problem.

I have pulled images using cpmFetch and want to link back to that specific image in the coppermine gallery.  I am pulling the last added images just like it does in the meta album "lastup"

I have done some more experimenting and looking through the database.  Here is what I found.  When I ask for the {{aPos}} , it gives me the position that is defined in the actual album where the image is stored.  It looks as if the {{aPos}} is the same for all images within that particular album.  That's why the link I created takes me to the incorrect image.

From what I have read lastup is a meta album.  Is there a way to get the position of the image from within that meta album to pass along in a link so I can view that image from within the Coppermine gallery in that same meta album (lastup)?

Again, any assistance would be greatly appreciated.