Git Product home page Git Product logo

sketch-unsplasher's People

Contributors

perrysmotors avatar skpm-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

sketch-unsplasher's Issues

[Feature Request] Remember 'Search Term' or 'Collection' When Searching Again

Currently, when searching for images by a specific search term, or when using a collection, the process is cumbersome - specially if we aren't happy with the first image found, and want the plugin to fetch another. What makes the process cumbersome is:

  1. There is no keyboard shortcut for 'Fill Based on a Search Term', nor for 'Fill from a Selection' - so we have to go to the plugin menu, and navigate
  2. The plugin remembers the very last search term or collection entered. But if I'm not happy with 3 or 4 images, and they all require different search terms, I have to click on each one individually, and try re-searching with each one at a time.

What would be ideal is for us to be able to 'store' the search terms or collection id along with the layer - e.g., in the layer name - and then for the plugin to use these (if available) when searching again.

Other plugins - e.g., Paddy, Easing Gradients - store the information they need to use within the layer name. I'd suggest that Unsplasher could use something like this for normal search terms:

Rectangle {face, woman}

...and perhaps something like this for collections:

Rectangle {c: 332024}

[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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.