Has anyone gotten a custom device to work with the included snippet? I've got the screen size rendering correctly but nothing happens when I assign a deviceImage. Are there other settings needed?
You see any errors when you open the inspector?
Oh! Yeah it's looking for a .jp2 file. Is that the format for device images? It seems to always look for whatever path I enter appended into the DeviceImages folder. I can't find that folder though...
David Caputo Go to Applications/Framer Studio, right-click, "show package contents", then Contents/Resources
Thanks Hoffer i forgot about that trick!
try in your app.coffee: window.FramerStudioInfo.deviceImagesUrl = "images/"
will do for in-Studio testing. If you want to test in browser or publish must override line 1617 of "framer.js" with: resourceUrl = window.FramerStudioInfo.deviceImagesUrl;
didn't find yet a way to override this from inside the Studio…
I'll fix this.
Thanks Cristian & Koen! I was just revisiting this now that one of the platforms we build for has added a new device size to their line.