Uploading images to a gallery Posted by jhawktim 18 May 2011 18:35 UTC I want to replace existing images and keep the image name the same. For example, I have image ID 3 and when I upload a new version of that image I want to tell mandate that the name continue to be image ID 3. Is this possible?
Posted by Gary Cunningham-Lee 20 May 2011 03:35 UTC The Action icon popup for files in file galleries has a "Replace" action. I didn't test this, but suppose that it allows replacing the file and keeping the same ID. -- Gary
Posted by Alejandro 27 May 2011 23:21 UTC Gary Cunningham-Lee wrote: The Action icon popup for files in file galleries has a "Replace" action. I didn't test this, but suppose that it allows replacing the file and keeping the same ID. -- Gary In my version (6.3) I don't have a "Replace" but an "Upload New Version" that I expected to do what you say, but not. Actually creates a new id at the same place (links in pages maintain the original - bad - id). I do not know which is the expected (designed, I mean) behavior but it could be a bug. If it's necessary to maintain the original file for restore purposes, maybe the original file could be indexed with the new id and use the old for the new file.
Posted by lindon 05 Jun 2011 05:07 UTC ayachan - to keep the same ID, go to Admin Home > File Galleries and check Keep fileId for archives. Regards, lindon Gary Cunningham-Lee wrote: Gary Cunningham-Lee wrote: The Action icon popup for files in file galleries has a "Replace" action. I didn't test this, but suppose that it allows replacing the file and keeping the same ID. -- Gary In my version (6.3) I don't have a "Replace" but an "Upload New Version" that I expected to do what you say, but not. Actually creates a new id at the same place (links in pages maintain the original - bad - id). I do not know which is the expected (designed, I mean) behavior but it could be a bug. If it's necessary to maintain the original file for restore purposes, maybe the original file could be indexed with the new id and use the old for the new file.
Posted by Alejandro 11 Jun 2011 22:25 UTC Many thanks. Regards. lindon wrote: ayachan - to keep the same ID, go to Admin Home File Galleries and check Keep fileId for archives. Regards, lindon ...