WebsiteBaker Support (2.8.x) > Bakery Shop
Bakery Slider does not load all images
mgeene:
Hi Jacobi22,
Thanks foor your reply.
I was afraid of that. I did an upgrade from 1.6 to 1.76 and this will probably cause the problem. I'm going to work on refreshing the images.
jacobi22:
not really a problem, but a "hard work" if you have a lot of items in the shop (not sure, but i think, you have more than 600 items?)
from my point:
- download the complete picture folder for bakery (standard: media / bakery)
- open at first the image folder of one item and check, if its png or jpg
- if its jpg, go to the next item
- if its png, open the thumb-folder for this item
to open the pics and changing the file type, i use the free viewer irfanview, a very good and small prog for this job
- open the thumb und save it without changes as a png-file in the same folder (its recommened, to check all pic's for this item, not only the main pic)
- do the same for every item
- if you finish, upload the complete bakery-image folder to your server
another method is a direct upload from every fixed pic, but i think, it goes very slow and makes you crazy :wink:
i add a little script here, unzip this file to your bakery module folder and call it in your browser.
the script read all main pictures from your active items (like the slider) and show all thumbs on a page like a picture gallery
if you go with the mouse over a broken image, you see the ITEM-ID and the used picture name and you can go with a click on this image to this item page.
this script will help you to found the "problem pics"
but dont forget: this script and also the slider shows only the actual main image for this item. if you change the main image in the picture list of the item (move up or down) , the new image can also be a jpg
dont use a batch-converter to change the file type (in one step). of course, it goes very fast, but it makes only trouble
you have actually a mix of jpg's and png's and maybe the converter change all pic's to png and then, you have to upload all!!! pics to all items again.
my maximum for a job like this was ~1000 pics at one day, but after this, i was down for the next day's :-D :-D
TIP: if you make a download from media/bakery, build a backup-zip from this folders before you start with the work
to have it is better than need it
jacobi22:
P.S.: if you remove the LIMIT 1 in line 19 of the script in the last post, it will show all pic's from active items - not only the main picture of an item
Navigation
[0] Message Index
[*] Previous page
Go to full version