Oh! I shall try it sometime. I hate hate cucumber so we don't have it around much... but if I see those small sliced ones I will try that sometime. I could probably freeze it in chunks....
You can wash it, cut it, wrap it in cling film and in the freezer. When you take it out and defrost it, it will be softer and can stay in the tank shorter but my fish love cucumber so much that it doesn't last too long. Fresh is better though and it will last normally in the fridge for ages. They aren't crazy about zucchini, not sure why but I've always put the zucchini blanched. I'll try a fresh one actually to see if that's the reason. The other fruit they really love is melon. I always save a couple of slices when we get some and keep it in the fridge. The corys and platies love it too, unless my pleco takes over, then he kicks everyone away...so I started putting two pieces on the opposite sides of the tank. It's really easy if you have spare suction cups and cut the slice just slightly wider than the holding plastics so it has a nice fit, then stick it on to the glass, otherwise it floats and they can't eat it easily.
Mango, if you ever buy it, is another one they go crazy for.
Mine don't eat apples, pears and sweet potatoes. I've tried broccoli and spinach and they like it but it makes a big mess in the tank, same with bananas, they just melt inside.
Blanched and peeled peas is a good one too. And if you haven't done it, smashed fresh cloves of garlic is another one they like. It makes my fish a lot more active when the tank stinks of garlic