Jump to content
thirty bees forum

Featured Product Images


gospodinwizard

Recommended Posts

I am having an issue getting all images to show properly in Block Featured Products.  I am using Store Manager and have 3 storefronts set up.  Regardless of what I do I can't get all the images to show properly in the block.  I tried toggling friendly URLs, I've rebuilt the index, and I've switched themes.  I have not reuploaded all the images or deleted and regenerated all the thumbnails.  With over 43,000 products I rather dread doing that as it would obviously take quite some and I could well run into php timeout issues.  Are there any good alternatives besides deleting and regenerating?  Any guidance is greatly appreciated and thanks in advance...

As a corollary question, is it better to establish one store and do all the uploads before or after enabling multistore?  All my stores are using the same theme...

Edited by gospodinwizard
Link to comment
Share on other sites

Thumbnails regeneration never times out, it just takes time. This is one of the things where thirty bees removed one of the well known PS pains.

For investigation on what's going on, looking at the URL of one or two images and comparing it with images actually on disk is a good start.

One can also turn off Pretty URLs to see these URLs directly, without Apache changing it on the fly.

Link to comment
Share on other sites

1 hour ago, Traumflug said:

Thumbnails regeneration never times out, it just takes time. This is one of the things where thirty bees removed one of the well known PS pains.

For investigation on what's going on, looking at the URL of one or two images and comparing it with images actually on disk is a good start.

One can also turn off Pretty URLs to see these URLs directly, without Apache changing it on the fly.

Is there a way to make it multiprocess? because it is single process and that is a waste of resources.

Link to comment
Share on other sites

I have gotten partly past this issue by using Store Manager's diagnostics to find missing images.  Now I've run into the issue that images for a couple hundred products (out of around 43,000) just won't show up.  What I find odd is I don't get a broken image link icon.  There's just a blank square where the image should be AND when I right click and try to copy the image url or save the image it gives me info for a GIF image.  None of the source images are GIFs and I have Preferences--> Images set to use JPEG.  I have zero idea where the GIF came from or rather where the DB thinks the image came from since when you try to download them you are told "no file found".

Link to comment
Share on other sites

A first step would be to look up whether these images exist on the server. Product images are stored in img/p/, then folders for the image number. One can find the image path in back office -> Catalog -> Products -> (click product) -> Images, hover over the image to see its URL.

Images can be corrupted, zero size, missing, whatever.

Link to comment
Share on other sites

  • 5 months later...

We are having a similar problem in some stores but not others though the same homefeatured module is being used.  Some stores display the product images on the index page in the home folder and others do not even with the same theme?  The images appear fine in the home directory.  The images have been rebuilt in the preferences/image.

Link to comment
Share on other sites

I finally found the solution.  If you use paint, IrfanView or other graphics program to change the jpg or JPG to a png file it miraculously shows up so long as you have .png files selected in preferences/images.   This works only where some of the pictures weren't showing up not where none of the pictures in the featured products are showing up.  

The same pictures are being used in multiple TB shops work in some and not in others, and it does not matter if you are using the default theme or the community theme.  The pictures show up in the home directory in all the shops whether they are .png of .jpg but only show up in featured or popular (depending if you are looking at the back office or popular on the public front side) in some of the stores though the image settings are the same.  Another image problem is when you are adding images in some shops show up when you upload them in the process of choosing a main picture in others thy do not, either way once chosen they do show up in the folder.

 Image format

Use JPEG.

Use PNG only if the base image is in PNG format.

Use PNG for all images.

Then go to the home directory in the catalog assuming you are using the default 2 directory and use paint or irfanview or other  graphics program that allows you to open and save an image in a different format and change it to .png when you save it.  Go back to the home directory and edit the products image by adding the .png images and saving them as the cover image.  For whatever reason the .png images show up in featured products whereas the .jpg don't in some TB installations.  We are using ver 1.1 stable and bleeding edge. 

We also found that in some stores where none of the images were showing up in featured products once we transformed the format to .png they started to pop up.   Another solution might also work but so far after trying switching themes resetting featured products, uninstalling and reinstalling featured products and even eracing the module and copying the module from a store where it was working all failed, but changing the image format did?

Edited by Joint Systems
more detail for solution
Link to comment
Share on other sites

  • 4 weeks later...

Nowadays, education plays a key role in a person's life, since with its help people can achieve incredible heights, build a career for themselves, be in demand and professional specialists in their field of activity. But it's not always easy to learn, and there are times in life when you need marketing assignment help. I know for sure that many students use homework services. Guys, what services do you use? Share your experience with a freshman. Thanks.

Edited by hojoos
Link to comment
Share on other sites

On 11/8/2020 at 10:46 AM, Joint Systems said:

I finally found the solution.  If you use paint, IrfanView or other graphics program to change the jpg or JPG to a png file it miraculously shows up so long as you have .png files selected in preferences/images.   This works only where some of the pictures weren't showing up not where none of the pictures in the featured products are showing up.  

The same pictures are being used in multiple TB shops work in some and not in others, and it does not matter if you are using the default theme or the community theme.  The pictures show up in the home directory in all the shops whether they are .png of .jpg but only show up in featured or popular (depending if you are looking at the back office or popular on the public front side) in some of the stores though the image settings are the same.  Another image problem is when you are adding images in some shops show up when you upload them in the process of choosing a main picture in others thy do not, either way once chosen they do show up in the folder.

Thanks for sharing! 

I have the same problem and I don't understand wich the solution is, can you please specify? I was using Store Manager and after lots of tries, I've just imported the products from database (PS 1.6) to database (TB 1.1.0). I copied all the /img/p directory and when click to regenerate thumbnails, it only shows this message constantly. I can't understand why is using that route, /home/muristar/public_html...? (Muristar is the domain). The images are there, and permissions are not the problem... Any idea to help? Thanks so much!

 

Screenshot 2020-12-07 at 14.47.58.png

Link to comment
Share on other sites

I should have added more detail.  Go to images under preferences.  Under image format choose

 Image format

Use JPEG.

Use PNG only if the base image is in PNG format.

Use PNG for all images.

Then go to the home directory in the catalog assuming you are using the default 2 directory and use paint or irfanview or other  graphics program that allows you to open and save an image in a different format and change it to .png when you save it.  Go back to the home directory and edit the products image by adding the .png images and saving them as the cover image.  For whatever reason the .png images show up in featured products whereas the .jpg don't in some TB installations.  We are using ver 1.1 stable and bleeding edge. 

We also found that in some stores where none of the images were showing up in featured products once we transformed the format to .png they started to pop up.   Another solution might also work but so far after trying switching themes resetting featured products, uninstalling and reinstalling featured products and even eracing the module and copying the module from a store where it was working all failed, but changing the image format did?

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...