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!
Thanks a lot for your reply, but I have never done coding Where can I find a step by step for beginners?
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.
You can browse the ‘Getting Started’ tab in this forum!
Many thanks! I will try it asap and let you know if I managed
Many thanks! I will try it asap and let you know if I managed
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
If you want to have just one row in the repeater, than delete all other “containers” inside repeater, ecxept of only one, then your repeater should work with just one row. Also do not forget to set the width of the repeater itself.
@russian-dima No, I think he is talking about an item list. His link: https://pam8830.wixsite.com/mysite/product-page/panda-hat
This is a wix-store problem, not a repeater one.
Just adding the code fixed my issue of having logo of partners in different shape ( square and rectangle) :
Before
After
thanks, this fixed an issue for me that I never saw myself but had others complain about!
can you explain to me where exactly I need to put the code?
(head\body) and if I need it in a specific page…
i tried to do it and it seems it is not working
Please open your own post and describe your issue in detail.
You can link this post to your own.
Do not bump-up old posts.