Category description image disappears
wildsteedworx.com
1.5.7d
PHP 8
edit_orders-4.6.2
square_webPay-master
Twitch_SPOON_for_157c_ver13a
usps-USPS_2022_07_10_K11b
zen_TyPackageTracker-4.0.1
I put an image in the "Category Description", same image I use for the "Category", to assist customers in selecting the part they need:
https://wildsteedworx.com/index.php?...68_173_359_360
The category "Shift Assembly" was missing the image because I had changed it a while back from a .png to .jpg.
I deleted the .png image and attempted to add the .jpg image back into the description box.
When I save the "Image Properties" the image appears in the Category Description as it should.
But once I save the Category and go back in the image is no longer in the Category Description.
When I say "no longer in the Description" I mean that literally.
The image container I had originally placed is completely gone.
I figured the category must be corrupt somehow, so I created a new category ""Shift Assembly New" and the same thing is occurring there as well.
I also tried saving with the "Add without Categories" and "Add with Categories" buttons and the image disappears after the save.
I checked my error logs, but none are being produced.
Any help would be greatly appreciated
Thank You
Re: Category description image disappears
I think I had a similar problem with images not showing when I add them to categories a while back, but I can't for the life of me remember exactly how I fixed the issue (sorry). I guess the best I can do is to show you the code I use to add images to the top of a category's page.
My canister adhesives page uses a large image above the product listings.
https://www.thegluepeople.co.uk/cani...esives-c-6_24/
The code used in the category description to display that image is as follows
Code:
<center>   <img src="/images/wtultra.png" alt="Webtack Ultra is here...">   </center>
though technically the center tag is not valid html anymore so I should probably find a better way to center it on the page.
Hope this helps.
Re: Category description image disappears
Quote:
Originally Posted by
CunningStunt2
I think I had a similar problem with images not showing when I add them to categories a while back, but I can't for the life of me remember exactly how I fixed the issue (sorry). I guess the best I can do is to show you the code I use to add images to the top of a category's page.
My canister adhesives page uses a large image above the product listings.
https://www.thegluepeople.co.uk/cani...esives-c-6_24/
The code used in the category description to display that image is as follows
Code:
<center> ## <img src="/images/wtultra.png" alt="Webtack Ultra is here..."> ## </center>
though technically the center tag is not valid html anymore so I should probably find a better way to center it on the page.
Hope this helps.
Where are you putting that code?
In the Category Description?
This is really strange to me. It will take text and the text will show up where the image should be, but the image will not display.
Re: Category description image disappears
The Category Description is really intended to be text and not an image.
Re: Category description image disappears
Quote:
Originally Posted by
swguy
The Category Description is really intended to be text and not an image.
Understood, but if images were not really planned for then why put the ability to insert an image as ZenCart has done?
Or is that an aftereffect of the Editor used?
I have not been able to find a simple alternate method of displaying the image I need there.
Re: Category description image disappears
If I remember correctly, the image is removed from the category description unless the   is used.
1 Attachment(s)
Re: Category description image disappears
Screenshot for clarity, yes it is in the category description box.
Attachment 20141
1 Attachment(s)
Re: Category description image disappears
Quote:
Originally Posted by
CunningStunt2
Screenshot for clarity, yes it is in the category description box.
Attachment 20141
Well, aren't you just the "Cunning" one....lol.
That did the trick.
Really strange though because I have tons of others that do not use the   and they still show up.
For example the "Transmission Assembly" Category image shows up and it looks like this:
Attachment 20144
Thank you very much for your assistance with this issue.
Re: Category description image disappears
Just wondering, are the two image files both started with a capital letter?
https://shawnyoung.com/journal/2020-...onventions.php
Re: Category description image disappears
Quote:
Originally Posted by
dbltoe
Yes, the downside of being a part time programmer and not having a good grip on everything yet.