MCPcopy
hub / github.com/ollm/OpenComic / addImageVars

Function addImageVars

scripts/cache.js:152–163  ·  view source on GitHub ↗
(image)

Source from the content-addressed store, hash-verified

150}
151
152function addImageVars(image)
153{
154 const vars = [];
155
156 if(image.type)
157 vars.push('type='+image.type);
158
159 if(image.forceSize && image.forceSize != 150)
160 vars.push('size='+image.forceSize);
161
162 return image.path+(vars.length ? '?'+vars.join('&') : '');
163}
164
165var data = false;
166

Callers 1

imageSizeShaFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected