Viewing srcset

srcset



User: Roddy 11 years ago
Is it possible to change the way in which EverWeb inserts images so that we can use srset?

At the moment, if I use this...

<img src="medium.jpg" srcset="large.jpg 2x" style="width:100%;height:auto;margin:0;padding:0;border:none">

... it looks like this in EverWeb...

<img src="{!-ASSETSPATH-!}Images/medium.jpg" srcset="{!-ASSETSPATH-!}Images/large.jpg 2x" style="width:100%;height:auto;margin:0;padding:0;border:none">

... and publishes like this...

<img src="ewExternalFiles/medium.jpg" srcset="file://localhost/Users/Roddy/Library/Application%20Support/EverWeb/35386D7A6DD248A1817535FB1A033401.everweb/Assets/Images/large.jpg 2x//file" style="width:100%;height:auto;margin:0;padding:0;border:none">

... and shows the large image in EverWeb and locally.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.