WebsiteBaker Support (2.8.x) > Bakery Shop

2+ product photos not showing on front end [SOLVED]

<< < (2/2)

instantflorian:
You're thinking tooo complicated.

Look at the screenshots.

hth
-Florian.

jacobi22:
1. see the post from florian

2. It has nothing to do with your picture problem, but you talking about the bakery-config-file
this bakery config-file has only some additional settings like special chars, picture settings for upload etc
i know, thats sometimes (on special server configurations) this config-file was not loading. to check that, go in the backend to your bakery page and there to page settings like florian it shows on his pics
at the bottom from the second pic you see the point "Thumbnail Setting", if the select field there are empty, your config.php from bakery is not loaded.


if this is the problem, change this line


--- Code: ---<?php
// Get some default values
require_once('config.php');
?>
--- End code ---

in the files
modules/bakery/modify_item.php (Line 60)
modules/bakery/modify_page_settings.php (Line 25)
modules/bakery/save_form.php (Line 26)
modules/bakery/save_item.php (Line 32)
modules/bakery/view_cart.php (Line 26)
modules/bakery/view_item.php (Line 26)

to this code

--- Code: ---<?php
// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');
?>
--- End code ---

its only needed, if the select field for the thumbnail settings are empty
be carefull
change only the lines from my list and never a line like this

--- Code: ---<?php
// Get some default values
require('../../config.php');
?>
--- End code ---

this line load the wb-config-file and bakery will not working without this line

seanie_morris:
Jacobi,
The config.php file is working fine, I was checking inside there to see if I could have changed any of the display settings!

Floria,
That has worked, thank you! However, one mystery remains: All the images I have per product show up tiled on the product page - I thought that one image (the top image in the 'list') would be the main image and the other images appear as thumbnails, viewable when clicked on. Now, if I have e.g. 4 images all 800px in width, my page is verrry long.


Thanks,

Seanie.

instantflorian:
Seanie,

so you just have to use [IMAGE][THUMBS] instead of [IMAGE][IMAGES]

 :-P

seanie_morris:

--- Quote from: instantflorian on April 29, 2014, 04:07:20 PM ---Seanie,

so you just have to use [IMAGE][THUMBS] instead of [IMAGE][IMAGES]

 :-P

--- End quote ---

NOW I understand! Thanks guys! It worked!

Seanie.  :mrgreen:

Navigation

[0] Message Index

[*] Previous page

Go to full version