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)
- sitemap-index should try to do a minimal search
- settings.publicURL is required setting for any large public website HOT 2
- plones default robots.txt prevents google indexing if ?expand used HOT 1
- Can't customize an index.js
- Remove any mention of LTS
- RecurrenceWidget produces values that can't be successfully parsed back HOT 4
- Items from horizontal table of contents getting out of the viewport
- Add cs translations HOT 2
- Mouse-pasting text with embedded HTML anchor yields unrenderable page and disrupted browsing session HOT 2
- Volto 17.0.alpha14, cookiecutter-plone-starter: Error: Unable to find 'razzle-plugin-scss' or scss/razzle-plugin' HOT 4
- Relations-controlpanel wrongly complains about outdated plone.restapi HOT 2
- Wrong constant in volto-slate for tfoot HOT 3
- I can create a columns block without having to hack the container primitive UI HOT 7
- naked file and image urls no longer download the file (causing SEO problems)
- Add option to hide title block HOT 2
- Listing block network fetches strategy problems HOT 1
- Listing block stores block id in its data HOT 2
- Infinite loop of requests using Google translate HOT 2
- broken links and themes HOT 4
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.