You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New to this library and trying to see whether it suits my needs. It looks great! I only have one doubt.
I have a Laravel app with several models that can have images.
However, I need the file names of the converted images to use data from the model they were uploaded for. So for example, an image for a Car model with the name Mercedes 500 SLK and a field color set to red might be mercedes-500-slk-color-red.jpg
Is this achievable using a FileNamer as explained here?
I'm not seeing a way to access the current model context.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
New to this library and trying to see whether it suits my needs. It looks great! I only have one doubt.
I have a Laravel app with several models that can have images.
However, I need the file names of the converted images to use data from the model they were uploaded for. So for example, an image for a
Car
model with the nameMercedes 500 SLK
and a fieldcolor
set tored
might bemercedes-500-slk-color-red.jpg
Is this achievable using a
FileNamer
as explained here?I'm not seeing a way to access the current model context.
Beta Was this translation helpful? Give feedback.
All reactions