L
L
ligisayan2018-10-03 16:52:50
JavaScript
ligisayan, 2018-10-03 16:52:50

I get a Not Found error when I click to enlarge an image - why?

Hello! There is a site with a project slider with zooming images.
I want to make myself the same plan with the preservation of styles. The project slider itself has been moved, everything is ok, but there is a problem with viewing enlarged images - a jquery error pops up in the console

GET site.ru/category/painting/age/featured-works?view=... 404 (Not Found)

As far as I understand, this is due to the fact that my path to the page is somewhat different /paint/age/featured-works?view=enlarge
<img class='enlarge zoom-image high-quality bx-image'
data-href="/painting/age/featured-works?view=enlarge" data-slide='1'
data-src='https://s3.amazonaws.com/files.collageplatform.com.prod/image_cache/2020x1160_fit/55f9dfbb6aa72c7039b1c099/c1d1f86223877c96957cf5718d6faf36.jpeg' data-srcset="https://s3.amazonaws.com/files.collageplatform.com.prod/image_cache/1010x580_fit/55f9dfbb6aa72c7039b1c099/c1d1f86223877c96957cf5718d6faf36.jpeg 1x, [url]https://s3.amazonaws.com/files.collageplatform.com.prod/image_cache/2020x1160_fit/55f9dfbb6aa72c7039b1c099/c1d1f86223877c96957cf5718d6faf36.jpeg[/url] 2x" data-enlarge='https://s3.amazonaws.com/files.collageplatform.com.prod/image_cache/enlarge/55f9dfbb6aa72c7039b1c099/c1d1f86223877c96957cf5718d6faf36.jpeg'  data-zoom="true" data-zoom-src="https://s3.amazonaws.com/files.collageplatform.com.prod/image_cache/zoom/55f9dfbb6aa72c7039b1c099/c1d1f86223877c96957cf5718d6faf36.jpeg" alt=''>

Tried different ways to prescribe, but all in vain. Sketched the code with the functionality used. Can you please advise what I need to fix?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question