Loading...
 
Skip to main content

Features / Usability


Uploading images to a gallery

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?

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

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.

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.

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

...