Add multiple images at once #7105

Closed
opened 2025-12-29 20:19:19 +01:00 by adam · 7 comments
Owner

Originally created by @PaulR282 on GitHub (Oct 14, 2022).

NetBox version

v3.3.5

Feature type

Change to existing functionality

Proposed functionality

It would be nice to be able to select multiple images at once when uploading images to a rack.

Use case

This makes it easier when you have multiple images of a rack you want to document.

Database changes

No response

External dependencies

No response

Originally created by @PaulR282 on GitHub (Oct 14, 2022). ### NetBox version v3.3.5 ### Feature type Change to existing functionality ### Proposed functionality It would be nice to be able to select multiple images at once when uploading images to a rack. ### Use case This makes it easier when you have multiple images of a rack you want to document. ### Database changes _No response_ ### External dependencies _No response_
adam added the type: featurestatus: needs ownerpending closure labels 2025-12-29 20:19:19 +01:00
adam closed this issue 2025-12-29 20:19:20 +01:00
Author
Owner

@cpund commented on GitHub (Oct 25, 2022):

I'll take this.

@cpund commented on GitHub (Oct 25, 2022): I'll take this.
Author
Owner

@jeremystretch commented on GitHub (Dec 9, 2022):

@cpund are you still planning to work on this? If not I'd like to remove you from the issue.

@jeremystretch commented on GitHub (Dec 9, 2022): @cpund are you still planning to work on this? If not I'd like to remove you from the issue.
Author
Owner

@cpund commented on GitHub (Dec 9, 2022):

@jeremystretch hey sorry, forgot about it. I'll make some time in the next week to work on it.

@cpund commented on GitHub (Dec 9, 2022): @jeremystretch hey sorry, forgot about it. I'll make some time in the next week to work on it.
Author
Owner

@cpund commented on GitHub (Dec 30, 2022):

Yeah, sooo. I lied about a week. I am now looking over it all now - trying to learn how the whole image selection process goes, as well as how the form is built so that I can figure out how to implement selecting multiple images at once. Great learning opportunity for me!

@cpund commented on GitHub (Dec 30, 2022): Yeah, sooo. I lied about a week. I am now looking over it all now - trying to learn how the whole image selection process goes, as well as how the form is built so that I can figure out how to implement selecting multiple images at once. Great learning opportunity for me!
Author
Owner

@cpund commented on GitHub (Dec 31, 2022):

@jeremystretch judging by what I've been able to ascertain so far, I could either use a formset with a given amount of images (maybe allow up to 5 at once?) and users would be able to rename the files, BUT they'd have to choose each file individually (meaning opening the file picker 5 times) ORRRR I could allow selection of multiple images from the file picker, but then we couldn't apply a new name to each.

The way I see it, we have two different uses cases:

A. (Computer) Rename files prior to upload, and then upload multiple images at once without the name option.
-or-
B. (Mobile) Use a formset and present like 5 forms. When clicking the upload button on the demo site on my Android phone, I can just take a photo on the spot, and since it presents me with a name field, I could then easily rename each photo. (I was trying to confirm this on my iPhone, but it won't load the demo site) But it's easy enough to just click create another so no need to utilize a formset.

Thoughts?

@cpund commented on GitHub (Dec 31, 2022): @jeremystretch judging by what I've been able to ascertain so far, I could either use a formset with a given amount of images (maybe allow up to 5 at once?) and users would be able to rename the files, BUT they'd have to choose each file individually (meaning opening the file picker 5 times) ORRRR I could allow selection of multiple images from the file picker, but then we couldn't apply a new name to each. The way I see it, we have two different uses cases: A. (Computer) Rename files prior to upload, and then upload multiple images at once without the name option. -or- B. (Mobile) Use a formset and present like 5 forms. When clicking the upload button on the demo site on my Android phone, I can just take a photo on the spot, and since it presents me with a name field, I could then easily rename each photo. (I was trying to confirm this on my iPhone, but it won't load the demo site) But it's easy enough to just click create another so no need to utilize a formset. Thoughts?
Author
Owner

@github-actions[bot] commented on GitHub (Jun 15, 2023):

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. Do not attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our contributing guide.

@github-actions[bot] commented on GitHub (Jun 15, 2023): This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. NetBox is governed by a small group of core maintainers which means not all opened issues may receive direct feedback. **Do not** attempt to circumvent this process by "bumping" the issue; doing so will result in its immediate closure and you may be barred from participating in any future discussions. Please see our [contributing guide](https://github.com/netbox-community/netbox/blob/develop/CONTRIBUTING.md).
Author
Owner

@github-actions[bot] commented on GitHub (Jul 15, 2023):

This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.

@github-actions[bot] commented on GitHub (Jul 15, 2023): This issue has been automatically closed due to lack of activity. In an effort to reduce noise, please do not comment any further. Note that the core maintainers may elect to reopen this issue at a later date if deemed necessary.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#7105