Is there any limitation for uploading image from Figma Plugin to my server? - figma

I want to build a plugin to allow designers to upload image that they added to the frame with the frame specification etc.
I'm seeing some comments/questions on Figma Community pages mentioned that figma doesn't allow that type of network requests or only examples that I could find is getting Unsplash image and putting it on to the canvas.
Before I try to figure out a different solution, wanted to check with other people to see if anyone tried this before?

Related

Some images only appear in simulator in Actions on Google App and not o real devices

I have put some images in basic cards and in lists in Actions on google app.The problem is some of those images only appear in simulator and not on the real device.
I have tried resizing and scaling the image to those which are showing but that doesn't make any change.Some of those images which are of high quality than others appear on the real device.I don't know why this is happening.I have tested on 2 real devices both of them have the same problem.Can someone please help me?
Are you on the google 'Spark' plan.
If so you cannot access images referenced outside of google storage.
You need a paid plan to access non google url's.
I have some sample projects and my images live in
https://console.firebase.google.com/project/<Your Project ID>/storage/<Your Project ID>.appspot.com/files
The images stored in this location are rendered with no issue.
Regards
Roy
Thanks everyone for providing your help,I actually found out the answer.Some of my urls contained whitespace which was handled by simulator but not the phones.So I changed the urls and now it works.

Woocommerce optimize images for mobile

I'm trying to improve pagespeed results for my clients.
I'm making an eshop with woocommerce and although I get 90-92% for desktop in the mobile I only have 38-40% because of images that it says to optimize them.
I've already make several changes for that reason, using EWWW Image optimizer plugin, which is very good and lets you customize several things for the images. I've deactivated all the rest of the images that theme or wordpress creates and I don't need.
I only use shop_thumbnail, shop_catalog, shop_single resize formats but although that in desktop works good, in mobile gives me the above issue...
What can I do to make it work also in mobile properly? Is there any code that I can input for ex srcset (I've noticed that this places a role for it)?

Images are not getting display on different browsers?

I am developing one website, in that i am showing some images on click event of some links.
and website is hosted on live web server.
But problem is that when i am visiting this site on my system, all images are getting displayed but when someone else is trying to access then images are not getting displayed.
In short, in some systems, website is working properly in chrome but in some systems images are not getting displayed.
According to me, may be it is an issue of browser compatibility, may be user browser is of lower version and that's why not showing images.
But i don't know whether i am thinking in a right way or not.
please suggest me how to solve such issue??
thanks in advance.

How do i get the source of an image that has been downloaded off the internet?

In the app i'm working on, an image is displayed to the user which is gotten from a website.
I want the app to have an option to save the image to gallery.
From what i figure, since the image is displayed on the screen (and hence, has already been 'downloaded' to the phone), i shouldn't have to download it again for saving it to the phone (essentially specifying the URL of the image on the website as the image's source).
Is there a way to get the get the source (path) of the image?
I wrote one app while ago, it was about testing downloading an image from the web and putting it into Image control. And what surprised me a lot - after first download an image I was able to turn off wifi and after that image was still showing. I think WP7 have quiet good cache or something and maybe if U ask second time about the same URL U'll receive temporary file from cache instead downloading it again...
I researched a bit and found out that once an image has been downloaded from a url, it isn't downloaded again and is retrieved from the cache automatically. So, that leaves my question answered.
You were correct kingsvid!

Monotouch Camera Image Capture and Upload

I would like to be able to capture an image (or choose an image from the photo library) and upload it to a remote server using Monotouch. I am not sure how to obtain and encode the image or how to upload the image and I am having difficulty finding relevant instructions. Can you help me get started? Thank you.
Here's a full example in MonoTouch
https://github.com/migueldeicaza/TweetStation/blob/master/TweetStation/UI/Camera.cs
What you are looking for is the UIImagePickerController. Here is a screencast on how to use it in Monotouch.

Resources