Is it possible to implement swiperjs swipe animations to collection images?
Here they have details about the code
Here are the demos:
I am looking to try “Effect card” animation.
I saw this video where he implement this animation in webflow.
I have no idea about coding. If anyone who have tried or could tell whether this or similar animation is possible in glideapp, it would be a great help.
If the source of an Image component is an array then the Image component turns into a carousel. I’d suggest to try that first because it’s really good.
I think the swipe is impossible for now but you could do something with buttons. Here is my attempt at a carousel with HTML and CSS. Though technically possible it was a lot of effort and the advantage over the native one is minimal…
i.e. in my custom carousel I can change the text with each image vs the native one you can’t change the text with each image.
The way I understand it, I don’t thing it’s supposed to loop around back to the first. I think it’s more of a left to right swipe. That’s how it works on the Swiper site as well.
I’m thinking if this needs to be dynamic, it might be better to build out the html in a javascript column and then feed it into a HTML to URL column.
I guess the other consideration is if the images need to be clickable or call some kind of action. Then the custom component would probably still be needed, but might be a little more difficult to make dynamic.
I think this will be difficult since Glide has a swap action to return to another screen, especially the behavior I encountered while on the mobile iPhone. If the swap is too hard it will exit the detail screen or get stuck.
It would be easier to drag to change frames like a slide show than to add animation to the cards.
Thanks Eric for the suggestion.
I am using card collection for the images. And the horizontal swipe gives the similar feel as you custom carousel.
Thanks for the efforts
The numbers are dynamic. If it’s too much of work and have to separately for each card collection, then let it be.
Else, if you can show me it’s possible to achieve this swipe. I’ll try to find a way for other dynamic collection.
This is the app. I have created a new one just to test the swipe. You can see the type of images I have.
Is this what you want and can’t be clicked to go to a details screen, not like the classic Glide feature? I can provide the code for you if you want it.
You only need to combine all your image URLs with the jointlist column. Add the following code to the JavaScript column and set the target configuration of p1 to the jointlist column.
On the frontend, display the result of this JavaScript column using the web embed component. That’s all.
Thank you so much @Himaladin for the help. It works well. Was finding a way to change according to my images sizes (I have no idea about coding). Was about to disturb you. But now, ThinhDinh helped me with SwipesJs code. Thanks anyway.