Question: "I add an image to a chunk in SAM and it looks fine but then I stage or publish and it is gone. What happened?"
Answer: This most likely is happening because the image needs to be uploaded into the inline-images folder. When you upload to the "root" level folder and stage/publish, SAM doesn't copy those images to the staged/live site so that's why they don't show up.
Here's how you would fix this:
- Edit the chunk that contains your image.
- Click on the image which will make it highlighted, then click the Insert/Edit image button.
- Navigate to the inline-images folder. If you are inside a different folder, then click the Up arrow to move up in the hierarchy.
- Upload your image to the inline-images folder (or a sub folder if that is applicable to your site).
- Once it's finished, select it from the asset browser which will replace the image in your chunk with the new one.
- Then when you stage or publish, your image should show up.
1 Comments