Message from JavaScript discussions

October 2020

— Cool😍


Hello guys, i've got img src with an esternal link. Is there a way to open this image without open external link, show it embendded in my page when the user click on it?

— It's not this, it's rather the dx 🤷🏿‍♂️

— I don't get it tbh

— I need to see those images without going out to my page. I need to see them in overlay on the screen when the user click on them

Message permanent page

— I still don't get what's the issue, how'd a user leave your page by clicking an image

— It'd mean you put some anchor around the image which goes out of the page or you got some event to follow any clicked element's data-src?

Message permanent page

— Even = i guess the problem, odd = critics🤤

— Well, it may be an image preview, first, small version of the image is shown (called preview), when user clicks it, the popup appears with the full version of the image.. maybe that is what desired🤔 (to reduce the load)

Message permanent page

— That's the feature I understand, but how does it come he gets kicked out of his site trying i wonder xd

Message permanent page

— Well, that's the odd part🤤

— FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory

Message permanent page