forum.coppermine-gallery.net

No Support => Feature requests => Topic started by: gbourgui on July 10, 2005, 05:17:57 pm

Title: Using the same images
Post by: gbourgui on July 10, 2005, 05:17:57 pm
I want to use the same images but do not want the images stored in Coppermine over and over again. I do not know how Coppermine stores images, but my guess is that if the same file name is uploaded more than once, it will store the same image under a different file name.  I want to use the same image, with the only difference being that in the description I enter a different URL.  I am using Coppermine with Retrospect-GDS, using the Retrospect plugin to display images stored in Coppermine that are linked to records in the GEDCOM file (by adding keywords in Coppermine).  I'm not sure if I need to explain exactly what it is I want to do, but hopefully it's enough to say that I want to use the same image without having the image stored under different filenames in Coppermine (which would eventually take up considerable disk space).  For example, the PDF and File icons that get displayed are obviously the same image file in Coppermine.  Perhaps if I stored my image similarly I could do the same thing.  So perhaps my question is this: can you add your own images that will operate the same way as the File or PDF icon?  However, I do not want to upload a file. I just want to have an image where I can add an URL to the description.  The only way I can see to do this right now is to upload the image each time.

If my question is unclear or I need to provide further details please let me know.  Thanks.
Title: Re: Using the same images
Post by: Tranz on July 10, 2005, 08:33:08 pm
This is included in next version, 1.4
Title: Re: Using the same images
Post by: Joachim Müller on July 11, 2005, 07:30:00 am
moving this thread to "feature requests" and marking it as "done".
Title: Re: Using the same images
Post by: gbourgui on July 17, 2005, 12:50:33 am
That's great that this will be included in version 1.4.   What I'm wondering now is if there will be an easy way to migrate from 1.3.3 to this new feature in 1.4.  If I have the same image a number of times with filenames "filename.jpg", "filename~0.jpg", "filename~1.jpg", etc, will I be able to refer them all to "filename.jpg", and subsequently delete "filename~0.jpg", "filename~1.jpg", etc, without too much trouble? (i.e., without having to change anything else?).

Thanks.
Title: Re: Using the same images
Post by: Joachim Müller on July 17, 2005, 06:32:15 am
Title: Re: Using the same images
Post by: kegobeer on July 17, 2005, 02:41:17 pm
That's great that this will be included in version 1.4.   What I'm wondering now is if there will be an easy way to migrate from 1.3.3 to this new feature in 1.4.  If I have the same image a number of times with filenames "filename.jpg", "filename~0.jpg", "filename~1.jpg", etc, will I be able to refer them all to "filename.jpg", and subsequently delete "filename~0.jpg", "filename~1.jpg", etc, without too much trouble? (i.e., without having to change anything else?).

Thanks.

I very much doubt it.  To do what you want, you'll end up editing the database manually.
Title: Re: Using the same images
Post by: Tranz on July 17, 2005, 09:31:58 pm
Yes, you will have to edit the db, which is what I will be doing once I upgrade my gallery to 1.4 to make use of same files in multiple albums.