- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I used CPANEL file manager to replace an image. I used same permissions and exact file name. It is not showing up on my Magento2 website. This is not a product image.
I have tried all of the recommended fixes. Deleting cache, refreshing, reindexing, rename htaccess, etc.
Any idea on why and old image still shows up?
(this is on a LINUX server)
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It could be cached on CDN if you're using one. It could also be your own browser cache.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Replaced images not showing up
You rock. Not sure why I didn’t think of that. It was cloudflare. Once I purged the cache there; it worked. Really appreciate you!!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Replaced images not showing up
Really appreciate the response! You rock. ##- Please type your reply
above this line -##
Shane Johnson
*Serving the vaping community since 2012*
www.fuZionvapor.com
*www.fb.com/fuzionvapor <>*
*IG: fuzionvapor*
*Twitter: @fuzionvapor*
*(904) 325-9833*
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Replaced images not showing up
Hi @search66,
To add a static block to a category page below the products in Magento 2, you need to follow these steps:
Create a Static Block:
- In the Magento admin panel, go to Content > Blocks.
- Click Add New Block.
- Fill in the required information such as Block Title, Identifier, and Content.
- Save the block.
Configure the Layout XML:
Create the directory view/frontend/layout under
app/code/YourVendor/YourModule/ and add catalog_category_view.xml
<?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd"> <body> <referenceContainer name="content"> <block class="Magento\Cms\Block\Block" name="custom_category_static_block" after="category.products.list"> <arguments> <argument name="block_id" xsi:type="string">your_static_block_identifier</argument> </arguments> </block> </referenceContainer> </body> </page>
Ensure you have created a static block with the identifier you specified in the admin panel under Content > Blocks.
By following these steps, you'll successfully add a static block to the category page below the products using a custom module in Magento 2.
If the issue will be resolved, Click Kudos & Accept as a Solution.