Skip to content
View in the app

A better way to browse. Learn more.

thirty bees forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Updating from 1.5.1 to Bleeding Edge Breaks Product Images

Featured Replies

Solved by Rhapsody

  • 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. 

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.

  • 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.

  • 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.

  • 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!

  • 1 year later...

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.

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:

image.thumb.png.749d63462ae5ee95577e9326cc03edfd.png

Have you regenerated all thumbnails with the new settings down the page:
image.thumb.png.0e8a5fda3b7dcb21acbc5e4e52e7017e.png

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...

  • 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.

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 by DRMasterChief

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.

 

Screenshot_20260107_133534.png

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.

 

Screenshot_20260107_133534.png

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".

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.

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.

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);
?>
 

On 1/7/2026 at 12:39 PM, wakabayashi said:

In categories you have two different types of images:

image.png.25e3dd8f23a67ada21aa79bd46a39dba.png

\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).

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).

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 by DRMasterChief

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.