sketch-unsplasher
sketch-unsplasher copied to clipboard
[Feature Request] Way to Know Original Image ID
One of the reasons we use Unsplash a lot in our mockups is the fact that if the client likes the images we've selected, they can use them on their live site or project without fear. But in order to do that, we need to be able to tell the client where to find the originals - i.e., what are the images' IDs/URLs in Unsplash.
This is not a problem when we are manually downloading the images from Unsplash. But when we use a plugin like Unsplasher, once the image has been placed inside a shape, how do we know what the ID/URL of the original is?
It would be ideal if the information was stored somewhere in the layer itself - e.g., in the layer name, as described in Issue #9 - I don't know whether this is doable, but I picture something like this:
Step 1: the user enters some search terms in the layer's title, as described in Issue #9
Rectangle {giraffe, safari}
Step 2: the user runs the plugin. It fetches a random image based on the given search terms. It finds an image, fills the shape with it, and then adds the image id to the layer title:
Rectangle {giraffe, safari, id:YozNeHM8MaA}
This would tell us what the image ID is for the last image that the plugin has placed in that layer. Whenever the plugin is run again, and a new image fetched, it would update the layer title with the ID for the new image.