Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- {content_module block="header_img" module="JMFilePicker" label="Header-Bild" mode="browser" dir="images" assign="header-img"}
- .header_img {
- background-image: url('{root_url}/scripts/php/image.php?image={uploads_url}/{$header-img}&width=1140');
- background-repeat: no-repeat;
- }
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
- .header_img {
- background-image: url('{root_url}/scripts/php/image.php?image={uploads_url}/{$header-img}&width=2280');
- }
- }
- </style>
- {$profil_img=cgsimple::get_page_content($child.alias, 'profil_img')}
- <img src="{$profil_img}" width="585.5" srcset="{root_url}/scripts/php/image.php?image={uploads_url}/{$profil_img}&width=500 500w, {root_url}/scripts/php/image.php?image={uploads_url}/{$profil_img}&width=800 800w, {root_url}/scripts/php/image.php?image={uploads_url}/{$profil_img}&width=1080 1080w, {root_url}/scripts/php/image.php?image={uploads_url}/{$profil_img}&width=1171 1171w" sizes="(max-width: 479px) 75vw, 270px" class="img-100">
Add Comment
Please, Sign In to add comment