Guest Posted July 30, 2021 Share Posted July 30, 2021 Site URL: https://www.goodworks.consulting/home-1 I am adding images in code block using img src but they are disappearing after few days. Example: <img src="https://images.squarespace-cdn.com/content/v1/5dbc9e53dcae681ed25ca7c5/1625813949113-LTG7G10WHJ3XLLS3JK4J/offerimg1.png"> Also same problem is with the images that I am adding in custom css as background image. Example: #block-yui_3_17_2_1_1622808662464_74411, #block-9935c568edb7ce712deb { max-width: 100% !important; background: #000 url(https://images.squarespace-cdn.com/content/v1/5dbc9e5…/1625837489147-LUCBZ1J2IM0DQXUFFVRB/banner2.png?format=1500w); color: #fff; padding: 50px 0px;} Is there something I am doing wrong? Please advice. Link to comment
iamdavehart Posted July 30, 2021 Share Posted July 30, 2021 hard to tell just from two broken links. My guess here is that if the only place these files are referenced is in custom code blocks then squarespace probably doesn't think those files are being used so it might be cleaning them up on a schedule. I would have an unlisted page and put them graphics in question into real image blocks, gallery blocks etc so that Squarespace knows they are in use. but if you do include those pictures somewhere else on your site and then change the filename property, squarespace will rename the file and any custom code that links to it won't be updated. so maybe that's happening as well. (the behaviour may be different from 7.0 to 7.1, as 7.1 has an image gallery which seems to keep some of my old unused images around.) creedon 1 Dave Hart. Software/Technology Consultant living in London. buymeacoffee Link to comment
fwitkowski1 Posted January 3, 2022 Share Posted January 3, 2022 I have similar issue. My images from HTML custom code block disappeared. There is no other place I want these images, so can I stop that behaviour any other way? Link to comment
tuanphan Posted January 4, 2022 Share Posted January 4, 2022 7 hours ago, fwitkowski1 said: I have similar issue. My images from HTML custom code block disappeared. There is no other place I want these images, so can I stop that behaviour any other way? Can you share link to page where you added Code Block? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
fwitkowski1 Posted January 31, 2022 Share Posted January 31, 2022 I received an answer from SquareSpace about this. Basically if image is added only in custom html, it will be "cleaned-up" as not used image (every 20 or so days). The solution is to create page that is not linked anywhere and put all images (and resources like PDFs) there. This is stupid, but only option. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment