Comments (6)
@cihanandac If the page doesn't have a preview image then you shouldn't render . I hope this will help you to fix issue
from volto.
Thanks, @manoharkumarsingh. Didn't help to solve it, but I understand your point.
from volto.
@cihanandac You should always use flattenToAppURL
. See Image Block for example.
from volto.
Thanks for the tip @avoinea. This component is also using Image Block, thus it is utilizing flattenToAppURL
. Please correct me if I am missing something here but I believe the issue is about something else.
from volto.
@cihanandac No, it's not. It's custom code all the way down 😄
- https://github.com/cihanandac/new-RietveldSchroderhuisWebsite/blob/main/frontend/src/components/theme/Header/HeroSection.jsx#L72
- https://github.com/cihanandac/new-RietveldSchroderhuisWebsite/blob/main/frontend/src/components/theme/Header/HeroSection.jsx#L4
- https://github.com/cihanandac/new-RietveldSchroderhuisWebsite/blob/main/frontend/src/components/Image/Image.jsx#L37-L45
- https://github.com/cihanandac/new-RietveldSchroderhuisWebsite/blob/main/frontend/src/components/Image/Image.jsx#L3
- https://github.com/cihanandac/new-RietveldSchroderhuisWebsite/blob/main/frontend/src/helpers/images.js#L31
from volto.
Thank you so much again @avoinea. Looks like you are right. I don't even know how I missed this one 🤦 .
from volto.
Related Issues (20)
- Teaser Refresh source content button crashes edit page
- RAZZLE_PUBLIC_URL is overridden by server.jsx code HOT 1
- Volto 18 Release Todo Checklist
- Markdown does not function fully anymore HOT 3
- Teaser block image override doesn't render external images HOT 4
- Print is not complete with firefox HOT 1
- This should also define __SERVER__
- plone.org #141 HOT 1
- Volto #5324 HOT 1
- When selecting a start datetime, the end datetime should be after the start datetime. HOT 2
- The end date should be optional to allow infinite event recurrence.
- Image widget size when used in sidebar and editor link position when scrolling
- Backend takes time to start HOT 18
- i18n mechanism discards translations when msgid is changed
- On image upload the download link is absolute and relative on the same image selected using the Object Browser HOT 3
- Conversion of ContentsUploadModel.jsx from class based to functional components HOT 1
- Sync the Top field sort on value to Facet sort on value in search block.
- Editable layout does not work well when portal_type has a Schema HOT 7
- Error using a Component Library with css import
- Publish @plone/blocks HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from volto.