News:

CPG Release 1.6.28
added submissions from {406man}
cleaned up a few PHP (8.4) deprecations
fixed PHP deprecation in calendar
removed security vulnerability
(please upgrade when possible)

Main Menu

How do I place pictures in multiple albums?

Started by STRiDOR, October 14, 2003, 10:20:12 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

STRiDOR

I'm sure I read something briefly on the old board about this, but does anyone have a good snippet of code that allows for something like this?  I want to place the same picture in different albums, such as a B&W album, or exhibition album which may include pictures from any number of other albums.

I'd appreciate any code or advice.  Thanks!
STRiDOR

jasendorf

You'd need to uplioad the file in multiple albums for the time being.  But, this is a feature that is being discussed for a future release of CPG (but not in 1.2).
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

STRiDOR

Importing fails though because it's a duplicate image.  How do you get around that?

BTW, I think it would be very useful to have this in a future release as you've mentioned.
STRiDOR

Joachim Müller

when using batch-add, you'll have to put it into a different folder (in fact to different pics with the same content as afar as the script is concerned).

GauGau

jasendorf

Ah, yes... hadn't thought about batch add.  If you upload the file seperately, CPG will rename the second photo with the same name plus another character to distinguish it from the first.
Read the Online DOCs,FAQ, and SEARCH the board BEFORE posting questions for help.

Tarique Sani

my be we need a way to place keyword albums in the album listings
SANIsoft PHP applications for E Biz

STRiDOR

Hmm, different folders can be quite a mess, for both space and organization issues.  I guess if you have telnet or ssh access then you could do this with symbolic links, just a guess though as I haven't tried.

The shame about doing it this was is you loose out on ratings and comments as the pictures are treated completely separately.  I guess what you really want is a way to keep a photo's sql entry unique, but relax the way it handles duplicate photo's, or at least to have as an additional option to the the way it's implemented now.

As for keyword album listings, although it's an interesting idea I don't see it  being as robust or simple as a user defined album.  Nothing beats simply adding picture x to album y + z and having comments/ratings span across the two albums without having to edit the keywords on potentially hundreds or thousands of pictures..  Imagine making a change later to keywords to manage these kind of vitural "albums", to avoid potentially huge management problems would require a foresight that even late night psychic's would have trouble seeing.  Well they would have trouble anyways, but I hope you get the picture..   :P
STRiDOR