-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Background images not working #5
Comments
Okay, probably because I don't use floorplan right now, but how do you upload a floor plan? LOL |
Admin > Floorplans >Select floorplan to change >Background image |
I didn't have any issue with that workflow using this fork. |
Same issue here with Netbox 3.7.3. Is 3.7 unsupported? Any advise would be appreciated. |
Same issue for me on 3.7.4. Occurs both in my prod and test environment. |
Same issue. Has anyone a fix for that? |
@Azmodeszer have you managed to reproduce this problem using a freshly installed system as your starting point? I want to drive us to a fix but it appears there's some inconsistency in different people's ability to see the problem in action. |
Honestly, we should just move it to the new style admin panel. I think this is an issue with the built-in panel and the way it is leveraged |
I have not tried it on a completely fresh install (yet), no. When/if I get around to it, I will post my findings. |
I now have the full history of this and whilst the admin panel was there, the javascript code for this was not due to scaling problems and a change in JS library. I have a version that semi works but with mass scaling issues alongside we'd need to move the upload over to django storage this is potentially a lot of work. |
Taken from tbotnz#26
There's three inquiries/issues here...
'NoneType' object has no attribute 'id'
Uploading a background image for sites is going through, but there is nothing displayed in the floorplan tab. It's the usual blank canvas. I checked the actual file system, the image is there and has the needed Linux permissions. Do images have to meet certain file type and/or size requirements? The documentation didn't say (or I missed it).
When adding (or updating) a floor plan through the Admin page, why is the Tags field required?
Thanks.
Python version: 3.11.2
NetBox version: 3.7.3
netbox_floorplan: 0.4
The text was updated successfully, but these errors were encountered: