Hey folks, Does Blynk Support actual .GIF images in the Image Gallery?
I have searched and read up on using the rotation function, Cant seem to get it to run. I have also used 2 separate images, delayed back and forth, kind of glitchy .
So to recap, GIF’s?
Thanks Dale, Cant seem to get one to play. GIF will play in web browser within Blynk with no issues, but does not play in Image gallery (displays only a still image) Still investigating.
Hey Dale, Yes. I don’t believe Blynk supports .GIF images. Not much found using the search. I’m also using 2 static images with a delay, and im unable to get the Blynk.setProperty “Rotation” to work either. Maybe someone else will chime in.
Thanks for your reply,
Mike
Thanks Pete, wasn’t aware there was such a thing as Non-animated GIF’s. Just read up on them. I’ve been using JPG to get it to work buts it’s “choppy”. for some reason I’m not able to use the Set Property to rotate 180 degrees.
It’s difficult to tell exactly what you’re doing when you post snippets of code like this, but
doesn’t seem like either a fully qualified URL, or an Image index as described in the in-app documentation…
Image
Image widget allows you to display any image within your project. You need to provide http/s url to it.
Url should be valid endpoint to the binary data of the image. Url shortener will not work.
Right now image widget supports 2 display options:
Fit: Image will be scaled to fit height or width of the widget size;
Fill: Image will be scaled to fill widget area. Cropping may occur;
You can make image widget interactive by providing multiple links to different images
with different states and change displayed image index from your hardware or via Eventor widget.
For example, select the first icon from the list :
Blynk.virtualWrite(V1, 1); //image indexing starts from 1
You can also change opacity, scale or rotation of the displayed the image :
Pete thanks for the tutorial, but I’ve read it many times. I DO have images uploaded to the Image gallery and was attempting to rotate image using
"Blynk.setProperty(V1, “rotation)”, But documentaion on its use is lacking. “Exhaust on” was clearly a label (Blynk.setProperty(V3, “label”, “Exhaust On”);
Blynk.virtualWrite(V3, 1); references image index 1.
Thanks,
Mike