How to have Album Thumbnails NOT show up in actual album...? How to have Album Thumbnails NOT show up in actual album...?
 

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]

Main Menu

How to have Album Thumbnails NOT show up in actual album...?

Started by savage, August 07, 2006, 06:28:42 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

savage

After a couple hours looking through contributions and discussion threads, I found several discussions on topics related to this, but nothing (a) directly related that (b) works. I have a client ( http://www.wickedprops.com ) that wants to use movie posters as his album thumbnails, but doesn't want those posters to actually appear in the album itself.

Reading through numerous posts, it *seems* like this has been addressed, but damned if I can find it. I thought I was onto something with http://forum.coppermine-gallery.net/index.php?topic=10087 but the code referenced in the discussion doesn't seem to appear in the latest release of CPG (granted, that thread is a year-and-a-half old).

So, anybody? I'm all ears. If it's been addressed and I just couldn't find the right thread, please direct me; if you know a fix, hack or contribution, let me at'em. Any help/answer would be appreciated!

Joachim Müller

The thread you refer to is for cpg1.3.x, although you're using cpg1.4.x, There's a good reasons why we maintain different sub-boards for different coppermine versions: those versions differ!
I just posted a reply to a nearly identical thread a minute ago: http://forum.coppermine-gallery.net/index.php?topic=34700.msg162644#msg162644

savage

Quote from: GauGau on August 07, 2006, 09:49:53 PM
The thread you refer to is for cpg1.3.x, although you're using cpg1.4.x, There's a good reasons why we maintain different sub-boards for different coppermine versions: those versions differ!
I just posted a reply to a nearly identical thread a minute ago: http://forum.coppermine-gallery.net/index.php?topic=34700.msg162644#msg162644

I thought as much on the version difference. I'll check out the link provided - thank you!!

savage

Rrrg. While the post you've reference above is nearly identical, it's not exactly what I'm trying to do. The documentation you referenced tells you how to substitute a thumbnail for a specific file; I'm trying to substitute a thumbnail for an entire album, then NOT have that thumbnail actually show up IN the album. For instance, an album containing props from Evil Dead would have the Evil Dead poster as its album thumbnail on the main page of the site, but once you click into it, you wouldn't actually see that poster in the contents of the album (the poster itself is not for sale - just being used to visually identify the album).

That's the theory, anyway - that's what my client wants to do.

Is that even possible?

Stramm

that's to change the category thumb http://forum.coppermine-gallery.net/index.php?topic=22017.msg102119#msg102119

for the album thumb modify in the albums table the thumb field. nter the pid (picture ID) of the thumb you want to use (similar as in the above link)

savage

Quote from: Stramm on August 08, 2006, 06:43:43 AM
that's to change the category thumb http://forum.coppermine-gallery.net/index.php?topic=22017.msg102119#msg102119

for the album thumb modify in the albums table the thumb field. nter the pid (picture ID) of the thumb you want to use (similar as in the above link)

QuoteIf you are able to modify your db with a tool like phpmyadmin and you don't mind that this pic is somewhere else in your gallery/ other category?

Then create eg an album crap somewhere, upload the pic from wich you want to create your custom thumb into your crap album. Open the pic and click image info... for URL you'll find somthing with pos=-xxxx at the end. You'll need the xxxx

in phpmyadmin have alook at the category table... find the one you want to have your custom thumb for that's not in this category. Now just change the thumb cell to the xxxx from above

I took a look at this and have a couple of questions:

1] The post you linked and I've quoted above relates to CPG 1.3x - are you sure this method works for 1.4x?

2] The "pos=xxxx" info you're talking about seems to be album-specific; 5 albums will have an image at pos=0, for instance. How do you tell the database which album it should look in?

I understand the basics of what you're saying here - just could use a few more details...?

Maybe it'll help if I post specifics:

Here's the album I want to link to: http://www.wickedprops.com/thumbnails.php?album=5

Here's the image I want to set to link to it: http://www.wickedprops.com/displayimage.php?album=24&pos=0

Here's the image the album is currently using: http://www.wickedprops.com/displayimage.php?album=5&pos=0

And when I look at the Army of Darkness table in the DB, it says it's "pos = 101" and "thumb = 9".

Am I just missing something obvious, or does the "pos=xxxx" thing just not apply at all to CPG 1.4x? If it DOES apply, can somebody clarify how this works?

Stramm

yes, it works with 1.4... at least for me

I'm not talking about pos=xxxx but pos=-xxxx
note the -

as said in the link, you shouldn't pick the pos from the browsers address bar but from coppermines picinfo area

-> the army of darkness pic's pid (pos-) is 140
the one you're using atm has the pid 9

savage

AHA! :)

I've never actually accessed the Picinfo area - once I found it, everything made perfect sense, and it works like a charm so far. Thank you so much for your help!!