How to enlarge an image in a table | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How to enlarge an image in a table

I have more than one images resized and fitted into table cells now if user wanna click on one of the image, it should display larger or even full screen for Phone

6th Dec 2017, 9:12 AM
Amir Danish
Amir Danish - avatar
3 Answers
6th Dec 2017, 9:47 AM
Ranjan Bagri
Ranjan Bagri - avatar
+ 1
just add target = "_blank". eg: <a href="myimage.jpg" target = "_blank"> <img alt="my image" src="" > </a>
8th Dec 2017, 4:16 AM
Nft
0
Maybe just do width:140% or something like that. Not sure if this works, I‘m new To Web.
6th Dec 2017, 7:33 PM
EnderJanYT
EnderJanYT - avatar