Skip to content

Front/rear image obscures device name #6879

@candlerb

Description

@candlerb

NetBox version

v2.11.10

Feature type

Change to existing functionality

Proposed functionality

I have just started using the front/rear images functionality. I found that the SVG is built up in the following sequence:

  • background rectangle
  • device name
  • device image

This means that once you add images, you no longer can see the device names.

I propose simply reordering the rendering sequence so that the text is added after the image. Before:

image

After:

image

Doing the same for rear suffers from the default text colour being black. Before:

image

After:

image

I would therefore change the colour to white when there's an image, on the assumption that most images are "dark-like". It then becomes:

image

Or else have setting(s) in the device type to select the text colour for the front and rear text when images are present.

Use case

Being able to see at-a-glance the positions and the names of all the devices in a rack is an important use for rack elevations.

I do realise that there's a button to turn images on and off. However, images without device names is pretty but not very useful. This means that generally I would have to turn the images off all the time, which in turn means there is no point uploading images in the first place.

Potentially the button could be changed to a 3-state (show names and images; show names only; show images only). But for me, the "images without names" variation is not something I'd use.

Database changes

None

External dependencies

None

Metadata

Metadata

Assignees

Labels

status: acceptedThis issue has been accepted for implementationtype: featureIntroduction of new functionality to the application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions