I created a repeater, I want to add a different logo (image) in each container. But my logo is cut and if I adjust the size it changes all the others.
Anyone can help me to fix that? Thanks for your reply!
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
Hello there!
I may just have the solution to your problem.
(1) Add a repeater to your page (or if you already have one, use that). Also, add a placeholder image onto your repeater. We will call this "#image1".
(2) Add this code (I found it in the Velo Reference):
$w("#image1").fitMode = "fixedWidth";
(3) Add a database with image fields. Add some images too
(4) Connect your repeater to a dataset.
I hope this solves your problem.
thanks, this fixed an issue for me that I never saw myself but had others complain about!
I have just seen this post and I believe it has solved 1 of 2 problems I have. I am using the related items tutorial and have so far been sucessful. In the database I have now completed the first 36 products with their relevant products. One can be seen here: https://pam8830.wixsite.com/mysite/product-page/panda-hat
I would ideally like to have the images resized to fit the repeater, which the above line of code appears to solve (I have not tried it yet).
The final thing i still need to solve is to have the images in a scrollable format left to right, so that they are not displayed in several rows down the page.
On the link to our Panda page we have four rows of images where I really want it be one row that scrolls.
Hope that this all makes sense.
Thank you in adavance.
Darren
Thanks a lot for your reply, but I have never done coding :( Where can I find a step by step for beginners?