Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default 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

  2. #2
    Join Date
    Jan 2019
    Location
    UK
    Posts
    101
    Plugin Contributions
    0

    Default 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> &nbsp <img src="/images/wtultra.png" alt="Webtack Ultra is here..."> &nbsp </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.

  3. #3
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Category description image disappears

    Quote Originally Posted by CunningStunt2 View Post
    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.

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    9,696
    Plugin Contributions
    123

    Default Re: Category description image disappears

    The Category Description is really intended to be text and not an image.
    That Software Guy. My Store: Zen Cart Modifications
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Category description image disappears

    Quote Originally Posted by swguy View Post
    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.

  6. #6
    Join Date
    Jan 2019
    Location
    UK
    Posts
    101
    Plugin Contributions
    0

    Default Re: Category description image disappears

    If I remember correctly, the image is removed from the category description unless the &nbsp is used.

  7. #7
    Join Date
    Jan 2019
    Location
    UK
    Posts
    101
    Plugin Contributions
    0

    Default Re: Category description image disappears

    Screenshot for clarity, yes it is in the category description box.

    Click image for larger version. 

Name:	canister.jpg 
Views:	49 
Size:	8.7 KB 
ID:	20141

  8. #8
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Category description image disappears

    Quote Originally Posted by CunningStunt2 View Post
    Screenshot for clarity, yes it is in the category description box.

    Click image for larger version. 

Name:	canister.jpg 
Views:	49 
Size:	8.7 KB 
ID:	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 &nbsp and they still show up.
    For example the "Transmission Assembly" Category image shows up and it looks like this:

    Click image for larger version. 

Name:	2022-11-07_06-27-41.jpg 
Views:	33 
Size:	13.0 KB 
ID:	20144

    Thank you very much for your assistance with this issue.

  9. #9
    Join Date
    Jan 2004
    Location
    N of San Antonio TX
    Posts
    9,151
    Plugin Contributions
    11

    Default 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

  10. #10
    Join Date
    Jun 2012
    Location
    California
    Posts
    202
    Plugin Contributions
    0

    Default Re: Category description image disappears

    Quote Originally Posted by dbltoe View Post
    Just wondering, are the two image files both started with a capital letter?

    https://shawnyoung.com/journal/2020-...onventions.php
    Yes, the downside of being a part time programmer and not having a good grip on everything yet.

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Product Description Disappears
    By lilparkee in forum Setting Up Categories, Products, Attributes
    Replies: 13
    Last Post: 3 Jan 2016, 03:02 AM
  2. v139h Categories description text disappears when adding product
    By jarmilka in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 23 Mar 2012, 03:48 PM
  3. Replies: 4
    Last Post: 24 Feb 2012, 02:04 PM
  4. Replies: 9
    Last Post: 3 Mar 2008, 04:54 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR