Skip to content
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

Feature Request (need help) : add Photo On Device and Driver #678

Closed
mhuzqu opened this issue Jun 12, 2018 · 1 comment
Closed

Feature Request (need help) : add Photo On Device and Driver #678

mhuzqu opened this issue Jun 12, 2018 · 1 comment

Comments

@mhuzqu
Copy link

mhuzqu commented Jun 12, 2018

Hii Guys,
Currently i can add static (source image harcoded) photo in device dialog.
i am newbie in extjs, i plan to make this device photo dynamically change refer to device identifier (so we have file name with the same device identifier).

i added code below in /web/app/view/dialog/Device.js

            ,{
                xtype: 'image',
                src: 'logo.svg',
                alt:'tests alt',
                flex: 1
            }

and also i added file upload field form images upload purposed. the result looks like this.

screen shot 2018-06-12 at 11 41 53 pm

how to make file_name.svg dynamically change refer to device identifier, i tried using
src:'{uniqueId}.svg'
it doesn't work.

@tananaev
Copy link
Member

tananaev commented Jul 4, 2022

We've added support for device images.
Screen Shot 2022-07-04 at 10 26 16 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants