Preloading models with media for json? #2019
Unanswered
torian257x
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
hi guys
is there a way one can preload the images when returning a model as json?
I am using media library v7
say I want to do
I want to be able to have each model with say the first image loaded each.
Currently, I do this
result is surprisingly:
I never added media to it, magically gets added when adding the accessors to append
well, i dont really want it. But well, iterating over it and removing again is a hassle too.
Is there a "good boi's" way?
Beta Was this translation helpful? Give feedback.
All reactions