abynim / sketchsquares Goto Github PK
View Code? Open in Web Editor NEWReplace layers in Sketch with photos from Instagram.
License: MIT License
Replace layers in Sketch with photos from Instagram.
License: MIT License
I have a folder on my desktop I’d like to generate images from. Would be cool if you supported that.
-- Submitted by Joseph Reni
Plugin seems to work fine in every when except when you press "Load Photos" the spinner appears, the system waits, then the dialog disappears but no images are loaded. A look in the console reveals these logs which looks like they have something to do with keychain access perhaps.
I have a single entry in the keychain for the SketchSquare instagram token but it seems that the plugin can't access them (see below).
9/01/2015 8:44:01.678 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.679 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.680 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.680 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.681 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.681 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.681 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.681 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.682 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.682 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.682 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.682 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.683 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.683 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.683 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.683 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.684 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
9/01/2015 8:44:01.684 am SketchSquaresPlugin[5425]: SecOSStatusWith error:[-34018] The operation couldn’t be completed. (OSStatus error -34018 - Remote error : The operation couldn‚Äôt be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements))
9/01/2015 8:44:01.684 am secd[4950]: securityd_xpc_dictionary_handler SketchSquaresPlu[5425] copy_matching The operation couldn’t be completed. (OSStatus error -34018 - client has neither application-identifier nor keychain-access-groups entitlements)
Hey. How can I install the plugin on the latest version? Now it does not work on version 52+?
When you run the plugin on rectangle that already have a picture fill, it should replace it instead of adding on top of it.
Congratulations on the plugin, it is amazing and we'll definitely be using it as an example of what can be done with scripting in Sketch.
While watching the demo video, I thought: "I'm sure there's a lot of designers at, say, Amazon, that would love to fill their layouts with images from a database, or an RSS feed, or…"
It would be awesome if you thought of a way to set different endpoints to get the images from (from the top of my mind: image folder, RSS feed, more social networks…)
This is an incredibly useful plugin, and adding more image sources would push it to the next level, imho : )
Nothing happens when using the plugin with Sketch 3.6.x -- any chance this plugin will be updated?
Sorry for opening an issue, I just wasn't sure if there was a better place to put my question.
I'm getting the Could not launch plugin
error when starting SketchSquares. I have yet to be able to launch it successfully. It seems that the error is related to this code:
if(![[NSWorkspace sharedWorkspace] openFile:jsonPath withApplication:appPath]]) {
showDialog("Could not launch plugin")
}
Do you have any suggestions for how I can troubleshoot this?
The plugin kept failing with a console error
8/01/2015 5:09:55.222 pm CoreServicesUIAgent[4947]: Error -60005 creating authorization
I tried revoking access via instagram to then re-request access but the plugin still thinks it's authorised. Long term the plugin should re-check its auth status but in the short term, can I clear the apps "data" and if so, where is it stored? I tried deleting the plugin without success.
The plugin doesn't seem to work on the beta.
Have you considered adding an uncompiled version of the .app portion for people who might want to peek in to that portion?
Would love the ability to import avatar images similar to this but from a Twitter @username or by Gravatar email address.
Would be great if this worked with non-square. Should be as simple as enabling non-square through the api: https://www.instagram.com/developer/clients/manage/, then Edit > Migrations > check "Non square media"
plugin doesn't escape hashtags.
screencap here: http://cl.ly/image/3e2m130L2x0V
sketch beta 3.4
got this error message:
{"code": 403, "error_type": "OAuthForbiddenException", "error_message": "You are not a sandbox user of this client"}
Please help. It's a really great plugin!
Images pasted as an image pattern in sketch can be applied to any existing shape. This will allow me to use instagram images on round shapes or any shape I choose without deleting and replacing the layer with a bitmap.
It would be great if this could randomize (via an option checkmark), e.g. sometimes you might select one rectangle, populate from a tag, then later select another rectangle, populate from the same tag. Now you have the same picture in both.
As a solution I would propose to fetch image URLs for no. of objects times two, but at least 16, and randomize the results before populating.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.