Archived topic
Why is the image inserted from the image url not displayed on the website page
8 replies · Started by xinghui on September 13, 2022
I created a new container and inserted an image directly into the image url inside the container, but my image is displayed in a small size on the edit page and not displayed on my website page. Is this what is the reason
my problem image:
1)insert image:https://i.postimg.cc/CxzZgTmC/insert-image.jpg
2)not display image:https://i.postimg.cc/Zn5Nv9F2/not-display-insert-image.jpg
Hi Xinghui,
Can you share the link to the site in question?
You may use the Private Information field for this: https://docs.generatepress.com/?s=private+information
sure,i want to insert a baaner image in my homepage,so I create a container,and I insert my image directly through the image url of the container, but the effect after insertion is that my image is not displayed at all
Have you added padding to the Container Block? If not, can you try adding top and bottom paddings?
I added top:700 in the padding and it shows, why is this happening? If you make a large carousel, should you insert an image directly instead of choosing to use the background image to insert the image?
How to use generatepress to make carousel map?
By default, a Container Block just acts as a container. It wont occupy space unless you put a Block inside it or add paddings or set a min-height. This is the reason why it's not appearing even if you added a background image. In your case, you can either add paddings or set a minimum height.
As for the Carousel, GenerateBlocks doesn't have such a feature. You'll need a third party plugin for that or custom code.
ok,thank you,Are there any good plugin recommendations or reference posts for code?
The ones usually recommended here by other users as well are Meta Slider and SmartSlider3.
It might be good to ask for suggestions in our GP Community as well: https://www.facebook.com/groups/1113359788719597