Image gallery url property setting not working

Small update… the limit is NOT 34… but for some reason the “urls” property command ended there??

I was able to manually and teadiously add in more (so far up to 50 images) one at a time :scream: And no crashes or issues using them.

AH HA!! OK, the “url” method WILL work… IF you already have an image in the indexed spot.

So as frustrating as it is… after fast loading in the apparent limit of 34 (possibly due to an Arduino command length limit :thinking: ) if you copy/paste something (seems to need a valid image, even the same one again and again will work) into the remailing needed indexes, then run a for() routine or whatever method to automatically update your file names, then it WILL repopulate the indexes with the correct images.

@wickedbeernut I hope some of this helps you get where you need to be in your project.

I think the mistake comes from there :
guageImage instead of gaugeImage
:thinking:

Heh… well, as long as I spell it incorrectly everywhere it should work :stuck_out_tongue: But I fixed my post anyhow.

It was actually running through the entire 60 URL’s correctly… but the Widget stopped “listening” after 34

1 Like

:rofl::rofl:

Actually, that’s the subject of this topic (“Image gallery url property setting not working”) before I hijacked it.

It’s helpful to know the “urls” setProperty works (at least somewhat).

In my first post on this topic, I mentioned Blynk started crashing around index 37 in manually adding URL’s. I don’t know if this is related to the 34 limit or not. I was able to get to 41 (after repeated failed attempts) by first adding the same URL 41 times. I then edited each URL starting with index 41 working backwards. After that, Blynk crashed and I’ve never been able to manually edit the widget since. The 41 URL’s in the Image Gallery work fine. I simply can’t edit them (at least not manually). I tried using the “url” setProperty (which didn’t work), however, I’m not sure I tried the “url” setProperty on an index that was pre-populated.

Hopefully, Eugene can recreate the issue with the information you’ve provided.

Again, I appreciate your efforts. I’ll experiment with all of the work-arounds you’ve discovered.

Joe

Yup… so it is :blush:

If you haven’t seen it yet, I expanded on my tests, and images used :wink: a wee bit here - Tachometer using Image Widget - #17 by Gunner

While there are many improvements to image widget planned, the particular keg example could use way less images without affecting user experience. Simply because image is used as a reference of a general state. Having a number (percentage or actual volume) would improve the experience and will work with <10 images.

I bet, if you user-test it, you will see that users won’t notice 0.5 difference by the image.

2 Likes

@Pavel for more than 10 images I would be expecting the latest blockbuster movie on my phone :slight_smile:

0-100% = 99 bottles (kegs) of beer on the wall, thus the idea number of images for max accuracy and tone deaf singing… Although, yes, after the first kegger, a 10x reduction to 10 total images, or 10% each will hardly be noticed through the beer goggles :nerd_face:

finally, this code don’t work :
Blynk.setProperty(V16,urls,image)
where image is a string that contains all https link

I assume you meant,

Blynk.setProperty(V16, “urls”, image);

But, same here. How’d you get this to work, Gunner?

Joe

Yes ! Blynk.setProperty(V16, “urls”, image); :wink:

And I can’t get,

Blynk.setProperty(V16, “url”, 1, image);

to work regardless of whether I have an image in the indexed spot or not. Gunner’s either got a beta release or he’s had a few too many. No wonder my kegs always show empty.

Joe

2 Likes

I have the last beta release too

Like I said,

Sorry for no updates so far, very busy lately! But will publish an iOS app update later this week (with updated Tabs widget :wink: )

1 Like

Thank you, Eugene … the implication being Gunner is running Android and Alexis and I are running iOS. That’s why Blynk.setProperty url/urls somewhat works for Gunner.

Any luck recreating iOS app issues related to the number of URL’s? In publishing the iOS app update, how many URL’s would you expect it to support?

Joe

3 posts were merged into an existing topic: Sharing IMAGES for Image Widget!

Hi @Gunner, I also have the same issue as your screenshot when trying to display the picture in image gallery widget of Blynk. I am currently building a system with ESP32-CAM for my college project. The error I encounter when I tap into the image for more details is “Can’t load image from this URL”. Any solution on how to fix this besides exit and restarting the app? I tried that but it didn’t work for me.

Also, is it a must to include an image file extension at the end of the URL? I tried adding “.png”, “.jpg” and not including the image URL, but the image still doesn’t appear in the image gallery widget.

2 posts were merged into an existing topic: Blynk image gallery widget can’t load image from this URL