BLYNK
HOME       📲 GETTING STARTED       📗 DOCS       ❓HELP CENTER       👉 SKETCH BUILDER

Image Gallery as icon

316/5000

Hi all
I am trying to use an image that works as an icon. With the image gallery widget I can choose the two images to visualize (activated flame / disabled snowflake) but it does not generate an event when I press it so i can’t use as a button, there is some way to make it possible
Thank you

See this post from last November…

Pete.

2 Likes

Is possible complete these function with code?

Not until clicking the widget icon creates an event that you can access via code.

Pete.

1 Like

the truth that would be a breakthrough in my project and a breakthrough in the image of the app for the user
Very thank you so much for your helpful
Great Job!!

what I do is use Emoji characters on a styled button that has black background. Define one Emoji for ‘on’ and the other for ‘off’ text.

You are of course limited to the emojis that displayable on your platform(s).

2 Likes

Apparently an Image Button Widget is planned for the future… looking forward to the customizability.

2 Likes

I hope it is soon, it would be a big change for my app, which has to be ready by June

thanks, it’s a great idea

1 Like