Skip to content
Snippets Groups Projects
Commit 516e10ce authored by William Faircloth's avatar William Faircloth
Browse files

img size max

parent 16e75dc0
No related branches found
No related tags found
No related merge requests found
Pipeline #6042 failed
......@@ -29,6 +29,8 @@
const src = img.getAttribute('src');
if (src && !src.startsWith('http')) {
img.setAttribute('src', new URL(src, "https://systems.cs.odu.edu/img/").href);
// set max width
img.setAttribute('style', 'max-width: 570px;');
}
});
// delete all "{width=".*"}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment