Add images to device type or resize comments field #4501

Closed
opened 2025-12-29 18:36:48 +01:00 by adam · 1 comment
Owner

Originally created by @andrexp on GitHub (Jan 26, 2021).

Environment

  • Python version: 3.8.5
  • NetBox version: 2.10.3

Proposed Functionality

Add images to device-types
Modify comments field to support image resizing for fitting.

Use Case

For some device types it is necessary to document some images to get rid of the need to label the devices. In the datasheet e.g. of some blade-server systems the numbering of the blades is shown.
I imagine two possible solutions:

  1. Add images to the comments-field.
    -already possible but then there is the need to resize images to make it fit into screens. See image below.
    Bildschirmfoto 2021-01-26 um 20 58 16

  2. Ability to add images to device-types.

Database Changes

No.

External Dependencies

No.

Originally created by @andrexp on GitHub (Jan 26, 2021). <!-- NOTE: IF YOUR ISSUE DOES NOT FOLLOW THIS TEMPLATE, IT WILL BE CLOSED. This form is only for proposing specific new features or enhancements. If you have a general idea or question, please start a discussion instead: https://github.com/netbox-community/netbox/discussions NOTE: Due to an excessive backlog of feature requests, we are not currently accepting any proposals which significantly extend NetBox's feature scope. Please describe the environment in which you are running NetBox. Be sure that you are running an unmodified instance of the latest stable release before submitting a bug report. --> ### Environment * Python version: 3.8.5 * NetBox version: 2.10.3 <!-- Describe in detail the new functionality you are proposing. Include any specific changes to work flows, data models, or the user interface. --> ### Proposed Functionality Add images to device-types Modify comments field to support image resizing for fitting. <!-- Convey an example use case for your proposed feature. Write from the perspective of a NetBox user who would benefit from the proposed functionality and describe how. ---> ### Use Case For some device types it is necessary to document some images to get rid of the need to label the devices. In the datasheet e.g. of some blade-server systems the numbering of the blades is shown. I imagine two possible solutions: 1. Add images to the comments-field. -already possible but then there is the need to resize images to make it fit into screens. See image below. <img width="1036" alt="Bildschirmfoto 2021-01-26 um 20 58 16" src="https://user-images.githubusercontent.com/6609851/105899197-a5158800-601a-11eb-952e-febb7e87cf09.png"> 2. Ability to add images to device-types. <!-- Note any changes to the database schema necessary to support the new feature. For example, does the proposal require adding a new model or field? (Not all new features require database changes.) ---> ### Database Changes No. <!-- List any new dependencies on external libraries or services that this new feature would introduce. For example, does the proposal require the installation of a new Python package? (Not all new features introduce new dependencies.) --> ### External Dependencies No.
adam closed this issue 2025-12-29 18:36:48 +01:00
Author
Owner

@jeremystretch commented on GitHub (Feb 4, 2021):

Add images to device-types

This is already supported.

Modify comments field to support image resizing for fitting.

The comments panel is already as big as the page size will allow.

@jeremystretch commented on GitHub (Feb 4, 2021): > Add images to device-types This is already supported. > Modify comments field to support image resizing for fitting. The comments panel is already as big as the page size will allow.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#4501