I’m trying to build a Vue based listing page for a portfolio type situation. It’ll display a grid of thumbnail links, along with some search / filter / sort functionality.
For each thumbnail img I’m looking to build a srcset component. Ideally I’d like to send the default thumbnail img url, and have my Vue component ‘ask’ for the various size variations needed by adding parameters to the url / filename.
eg. for image:
Can I get a lower resolution / quality version by asking for something like:
I get the sense this may be possible with the api, but I can’t figure out how to go about it.
I have a backup option of sending all the urls required within the json request, but if this is possible it would make my life a lot easier…