--- layout: navbar-v1-white title: Single Question --- {{> questions-nav-single}}
{{> questions-shadow-dom-single}}
Back To Questions

## How can I handle photos with javascript?

Dan Walker 2 days ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. At eum nihili facit; Quacumque enim ingredimur, in aliqua historia vestigium ponimus. Duo Reges: constructio interrete. Proclivi currit oratio. Quae contraria sunt his, malane? Quod quidem nobis non saepe contingit. Hoc loco tenere se Triarius non potuit.

5 Answers
Elise Walker Best Answer 1 day ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. At eum nihili facit; Quacumque enim ingredimur, in aliqua historia vestigium ponimus. Duo Reges: constructio interrete. Proclivi currit oratio.

First install this:

npm install photo_module_js - - save

Then configure your photos:

$var product = this.getProduct.productDetails;
$var photoUrl = product.mainInmage.photoUrl;
for (var i = 0; i < photoUrl.length; i++) { //do your stuff here }

You can also check the documentation:

https://friendkit/guides/ecommerce/products/docs

David Kim 1 day ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. At eum nihili facit; Quacumque enim ingredimur, in aliqua historia vestigium ponimus. Duo Reges: constructio interrete. Proclivi currit oratio.

First install this:

npm install photo_module_js - - save

Check this link:

https://friendkit/questions/1856456

Elise Walker 1 day ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. At eum nihili facit; Quacumque enim ingredimur, in aliqua historia vestigium ponimus. Duo Reges: constructio interrete. Proclivi currit oratio.

It would ne nice to be more specific about it.

Any suggestions?

Load More

## Other people asked

I'd like to learn a js framework, any ideas? David Kim | 1 day ago
Trouble running with Kubernetes + Docker Elise Walker | 3 days ago
Is it worth buying the new Surface tablet? Lana Henrikssen | 7 days ago
How much should I charge for freelance design? Edward Mayers | a month ago