Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
Hi there, hope you are well.

Sorry for bothering you, but I have a question:

Is it possible to use couch cms to make images coded like in the following code (the code of an index page) to be edited by clients and automatically scale/(be reponsive or adaptive) like the original image/images?:

Code: Select all
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Page 1</title>
<meta name="referrer" content="same-origin">
<meta name="robots" content="max-image-preview:large">
<meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no">
<link rel="stylesheet" href="css/site.e014ff.css" type="text/css">
</head>
<body style="--sw:0px" id="b1">
<script>!function(){var e=document.body;"0"===e.style.getPropertyValue("--sw")&&e.style.setProperty("--sw","0px");var t=document.createElement("P");t.innerHTML="&nbsp;",t.style.cssText="position:fixed;visible:hidden;font-size:100px;zoom:1",e.appendChild(t);var n=function(t){return function(){var n=Math.trunc(1e4/parseFloat(window.getComputedStyle(t).getPropertyValue("font-size")))/100;n!=e.style.getPropertyValue("--f")&&e.style.setProperty("--f",n)}}(t);if("ResizeObserver"in window)new ResizeObserver(n).observe(t);else if("requestAnimationFrame"in window){var r=function(){n(),requestAnimationFrame(r)};requestAnimationFrame(r)}else setInterval(n,100)}()</script>

<script>/firefox/i.test(navigator.userAgent)||function(){var e=function(){var e=document.body,t=window.innerWidth,n=getComputedStyle(e),r=n.getPropertyValue("--s");if(320==r){if(t<320)return;t=Math.min(479,t)}else if(480==r){if(t<480)return;t=Math.min(610,t)}else t=r;var i=Math.trunc(t/r*1e4)/1e4;i!=n.getPropertyValue("--z")&&e.style.setProperty("--z",i)};window.addEventListener?window.addEventListener("resize",e,!0):window.onscroll=e,e()}();</script>

<div class="ps1 v1 s1 z1">
<div class="v2 ps2 s2 c1 z2">
<picture>
<source srcset="images/p/dji_0047bright-min-min-640.webp 2x" type="image/webp" media="(max-width:767px)">
<source srcset="images/e/dji_0047bright-min-min-640.jpg 2x" media="(max-width:767px)">
<source srcset="images/r/dji_0047bright-min-min-906.webp 2x" type="image/webp" media="(max-width:1199px)">
<source srcset="images/r/dji_0047bright-min-min-906.jpg 2x" media="(max-width:1199px)">
<source srcset="images/n/dji_0047bright-min-min-786.webp 1x, images/0/dji_0047bright-min-min-1572.webp 2x" type="image/webp" media="(min-width:1200px)">
<source srcset="images/4/dji_0047bright-min-min-786.jpg 1x, images/2/dji_0047bright-min-min-1572.jpg 2x" media="(min-width:1200px)">
<img src="images/2/dji_0047bright-min-min-1572.jpg" class="i1">
</picture>
</div>
</div>
<div class="c2">
</div>
<script>dpth="/"</script>
<script type="text/javascript" src="js/index.e014ff.js"></script>
</body>
</html>


I am asking this because I intend to use an app called sitely (https://sitely.app/) (which is a website builder that does the coding automatically so the person who is creating a site with it doesn’t have to know about coding in order to create that site) to do work for clients (web design work).

However, there are limitations to the stuff that is possible to do with it, and one of them is that there is no cms functionality integrated in it. So I have been thinking that maybe couchcms could help with that.

Please note that the code that I mentioned before is made by the application (sitely) (that is why I sent you that code).

Furthermore I don’t know much about coding, I have studied html and css in the past but forgot a lot of it, but recently I have been trying to refresh my knowledge of html (by viewing videos of the online course that I took again).

Could you please help me.

Many thanks

Kind regards
R1cky wrote: Hi there, hope you are well.

Same to you. Look here viewtopic.php?f=2&t=13595
Join COUCH:TALK channel here https://t.me/couchcms_chat
Ryazania — a framework to boost productivity with Add-ons viewtopic.php?f=2&t=13475
Support my efforts to help the community https://boosty.to/trendo/donate
Thank you trendoman.
3 posts Page 1 of 1