September 3, 20242 yr The code looks proper. In any case there is some local issue as the regeneration and the rewrite as a whole works with at least few installations (including mine 3 production installs and 2 test installs).
September 3, 20242 yr Author Making progress - I found that turning off friendly URLs fixes the images on bleeding edge. I'll be looking into why the friendly path get broken. Pass on any ideas you may have.
September 3, 20242 yr Just now, Rhapsody said: Making progress - I found that turning off friendly URLs fixes the images on bleeding edge. I'll be looking into why the friendly path get broken. Pass on any ideas you may have. Yeah, this is kind of logical. The problem is not the source files or the thumbnails. It's the rewrite.
September 3, 20242 yr 7 minutes ago, the.rampage.rado said: Check if mod_rewrite is on. Pretty sure, otherwise all links would be broken or not?
September 3, 20242 yr Author Mod rewrite is on and functioning. What I can't figure out is when I manually edit the .htaccess file (using cpanel rather than the TB save function) I still can't get the proper product image link redirection. I've also used an incognito window to make sure the browser isn't caching anything when I try this. Feel free to pass on any other troubleshooting tips.
September 10, 20242 yr Author Another data point. I have 3 shops hosted on different Linux hosts. One is on GoDaddy, and the other two on Glowhost. All three shops exhibit the same behavior when upgraded to bleeding edge. Rolling back to stable 1.5.1 restores the images.
September 14, 20242 yr Author Solution I am so embarrassed! I had overrides created on a much older version of ThirtyBees across all three shops. Once I updated the overrides using the newer core code, the problem was fixed. My apologies for wasting your time. Thanks for all the troubleshooting assistance!
January 6Jan 6 Was any solution found for this? Or what triggered it? I'm experiencing a situation where, after updating to version 1.6, the thumbnails in the category previews are populated with the camera icon when there's no actual image. Previously, nothing was displayed there at all, just a blank white space. I have the .htaccess files from versions 1.5.1 and 1.6 for comparison, but of course, I'm stuck.
January 6Jan 6 36 minutes ago, DRMasterChief said: Was any solution found for this? Or what triggered it? I'm experiencing a situation where, after updating to version 1.6, the thumbnails in the category previews are populated with the camera icon when there's no actual image. Previously, nothing was displayed there at all, just a blank white space. I have the .htaccess files from versions 1.5.1 and 1.6 for comparison, but of course, I'm stuck. Did you follow the guide from page 1? All entities set correctly? Here is an example from Warehouse: Have you regenerated all thumbnails with the new settings down the page: Did you regenerate your htaccess and does it include the images as: .... RewriteRule ^categories/([0-9]+)(\-[_a-zA-Z0-9\s-]*)?/.+?([2-4]x)?\.(avif|gif|jpeg|jpg|png|webp)$ %{ENV:REWRITEBASE}img/c/$1$2$3.$4 [L] .... RewriteRule ^products/([0-9])([0-9])(\-[_a-zA-Z0-9\s-]*)?/.+?([2-4]x)?\.(avif|gif|jpeg|jpg|png|webp)$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.$5 [L] and so on...
January 7Jan 7 Author 3 hours ago, DRMasterChief said: Was any solution found for this? Or what triggered it? I'm experiencing a situation where, after updating to version 1.6, the thumbnails in the category previews are populated with the camera icon when there's no actual image. Previously, nothing was displayed there at all, just a blank white space. I have the .htaccess files from versions 1.5.1 and 1.6 for comparison, but of course, I'm stuck. My problem was an override I had done that caused the problem. Make sure you check for that.
January 7Jan 7 Yes, everything is done as described, set SEO/URL, regenerate all pictures and so on... Changes does not have any effect. Test shop: # categoriesthumb images RewriteCond %{HTTP_HOST} ^test.domain.xyz$ RewriteRule ^categoriesthumb/([0-9]+)(\-[_a-zA-Z0-9\s-]*)?/.+?([2-4]x)?\.(avif|gif|jpeg|jpg|png|webp)$ %{ENV:REWRITEBASE}img/c/thumb/$1$2$3.$4 [L] Live shop: (i think this is the part for categoriesthumb images, i do not have a listing with # in there) RewriteCond %{HTTP_HOST} ^livedomain.xyz$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9\s-]*)(-[0-9]+)?/.+?([2-4]x)?\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3$4.jpg [L] RewriteRule ^c/([a-zA-Z\s_-]+)(-[0-9]+)?/.+?([2-4]x)?\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] and i dont have any other overrides for pictures (caused in the theme). There is the folder /thumb/ included in the test-shop rule, but why? Edited January 7Jan 7 by DRMasterChief
January 7Jan 7 Displaying a placeholder image for subcategories causes an bug in getSubCategories() method of Category class: foreach ($result as &$row) { $row[‘id_image’] = $row[‘id_category’]; $row[‘legend’] = ‘no picture’; } Whether the image exists or not, ‘id_image’ with the ID of the given subcategory is always returned. And if there is no image, the rules from htaccess load a placeholder image.
January 7Jan 7 53 minutes ago, Yabber said: Displaying a placeholder image for subcategories causes an bug in getSubCategories() method of Category class: foreach ($result as &$row) { $row[‘id_image’] = $row[‘id_category’]; $row[‘legend’] = ‘no picture’; } Whether the image exists or not, ‘id_image’ with the ID of the given subcategory is always returned. And if there is no image, the rules from htaccess load a placeholder image. I am not sure... Is this a bug report or an explanation? Do you have uploaded a thumb image for packets? Cause you are right, these are exactly the images we are talking about "thumb".
January 7Jan 7 32 minutes ago, wakabayashi said: I am not sure... Is this a bug report or an explanation? Do you have uploaded a thumb image for packets? Cause you are right, these are exactly the images we are talking about "thumb". I deliberately deleted the image for this one category to get the effect of displaying a placeholder image 🙂 Whether this is a bug or not is open to debate. If we decide to display subcategory images, we should add images to all categories. However, many stores do not have a uniform data management concept and add images to some categories but not to others. And with these placeholder images, it looks ugly.
January 7Jan 7 Merchants can always upload 1px transparent blank images if they only want graphics for only some of the categories.
January 8Jan 8 10 hours ago, the.rampage.rado said: Merchants can always upload 1px transparent blank images if they only want graphics for only some of the categories. A less labor-intensive solution is to replace the image /img/404.gif with an blank transparent image.
January 9Jan 9 ok, would it be a good idea then to do this automatically, when there is no pic given? e.g. by PHP (m I correct in this?): <?php $img = imagecreatetruecolor(1, 1); imagesavealpha($img, true); $transparent = imagecolorallocatealpha($img, 255, 255, 255, 127); imagefill($img, 0, 0, $transparent); header('Content-Type: image/png'); imagepng($img); imagedestroy($img); ?>
January 9Jan 9 On 1/7/2026 at 12:39 PM, wakabayashi said: In categories you have two different types of images: \thumb is the preview image. I'm having problems with product images, not category images. When I look at the category overview, I see the placeholder (the product correctly has no image). When I then look at the product details, I don't see a placeholder, just nothing (white, since it has no image).
January 10Jan 10 11 hours ago, DRMasterChief said: I'm having problems with product images, not category images. When I look at the category overview, I see the placeholder (the product correctly has no image). When I then look at the product details, I don't see a placeholder, just nothing (white, since it has no image). In the language configuration: Localization -> Languages, add your own “No-picture” images (can be transparent PNG).
January 10Jan 10 Thanks for the hint; I wouldn't have expected to find something like that there. I'm sure I've seen it before, but after a while, you don't think to look for it under 'Languages'. I've already changed the 404.gif image (or the equivalent for my theme) to a blank 1kB image. That works fine, and it now displays as I want. However, I still don't quite understand the reason. The image settings, etc., are correct and identical to my shop version 1.5.1. Edited January 10Jan 10 by DRMasterChief
Create an account or sign in to comment