Image zoom much to large - Sense Theme -Image sizing

Hey everyone.

My website is

Birkebane.dk

When a poster is selected and the image is click the image becomes absolutely huge, both on phone and desktop. Customer support asked me to post this here in case anyone has the skills to fix this via coding.

Thanks !

Hey @Birkebane ,

Follow these instructions :blush:

Go to your theme’s “Edit Code” Option, then in the search bar type “theme.liquid”
Below the tag “” tag paste the following. Screenshot attached for reference.


Screenshot is for reference only, the correct code to paste is the one shown above.

Thanks a ton for taking the time to help me out!

Its a lot better then before. However, i was maybe hoping for a more classic approach, like the link below as an example. Dont need the semi transparency for the background.

https://postershop.dk/vare/watercolour-kiss/

Thoughts?

Hey @Birkebane ,

Well, you kind of need the semi-transparent background, if not it looks like the whole page is broken and confusing

Example:

vs

Replace the previous code with this one.


You are completely right!

Im unable to get the code working, as my “default” code looks diffrent from the one you showed.

Im unable to send the code via PasteBin so here is a screenshot (im also not allowed jpg files)

https://we.tl/t-pWNVLdwmpy

Hey @Birkebane ,

Just paste it after the underlined part.

I tried, like shown here.

https://we.tl/t-mrYpRreqWt

Im so terrible at this, nothing changed and its not working.

That looks correct, are you sure you are in the correct theme?

The very first time you got it right, the steps are exactly the same

Only Theme i use. There is no difference on the website. Strange.

Ok I figured out what happened, just erase all the previous code and add this instead.


IT WORKS!

Thanks a ton for your help. Fantastic!

Why does this work on some, but not all posters?

https://birkebane.dk/products/alfabet-plakat-akvarel - does not work

https://birkebane.dk/products/bornesyn-eventyr?pr_prod_strat=collection_fallback&pr_rec_id=ab15b5825&pr_rec_pid=8682918707545&pr_ref_pid=8585701654873&pr_seq=uniform - works

Solved. My error. Works fine

Hey @Birkebane ,

I’m assuming you have 2 different product templates. One of them has a different zoom feature.

Like for the 2nd link, when you hover over the image, the zoom button appears in the top left. The first link doesn’t have it. Looks like a different template to me.