Replies: 1 comment
-
from trame.assets.local import LocalFileManager
local_assets = LocalFileManager(__file__)
local_assets.url("main_pict", "./Mypic0.jpg")
# [...]
vuetify.VImg(
src=local_assets.main_pict,
aspectratio="1.4",
height="300px"
) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I want to add a JPG picture using VImg. The following is OK:
```
vuetify.VImg(
src='https://picsum.photos/510/300?random',
aspectratio="1.4",
height="300px"
)
Beta Was this translation helpful? Give feedback.
All reactions