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

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

NOW I understand! Thanks guys! It worked!

Seanie.  :mrgreen:

instantflorian

Seanie,

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

:-P

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.

jacobi22

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

<?php
// Get some default values
require_once('config.php');
?>


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
<?php
// Get some default values
require_once(WB_PATH.'/modules/bakery/config.php');
?>


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
<?php
// Get some default values
require('../../config.php');
?>


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

instantflorian

You're thinking tooo complicated.

Look at the screenshots.

hth
-Florian.

seanie_morris

Strange... I checked that out in the modules/bakery/config.php file but can't find anything out of the ordinary.

I even deleted the existing images and re-uploaded them (making sure on their names.jpg etc. is short enough) but I am obvisouly missing something. Some of the instructions on that link to the Lightbox section are a little confusing too, for example:

To display the item images in your Bakery templates use the placeholders [THUMB], [THUMBS], [IMAGE] and [IMAGES]

How do I go about altering this? What file(s) do I select in modules/bakery/templates (I assume) in order to check product image display?

Seanie.

jacobi22

do you have this problem in product page AND on the overview or only of one of them?

here the part from my bakery page settings (only 2 lines)
Detail (Footer)
[IMAGE][IMAGES]
<form action="[SHOP_URL]" method="post">


alternativ
[IMAGE][THUMBS]
<form action="[SHOP_URL]" method="post">


or other combinations from THUMB, THUMBS, IMAGE && IMAGES

seanie_morris

Thanks for the reply freeSbee,

I made sure both the names of the files are the same in the /images and /thumbs folder, even uploading alternately named images too (3 in total), and still no joy, only the top placed image in the admin end will show on the product's shop page.

If I am missing something else from your link, please advise.


Thanks,

Seanie.

freeSbee

Hi seanie_morris

Please read about the placeholders like [IMAGE] and [IMAGES] used in the Bakery templates.
http://www.bakery-shop.ch/#item_images

Reagards Christoph

seanie_morris

#1
Hi all,

I couldn't find a post that deals with this, so here goes.

Adding images to a product is not a problem. The problem is that the front end will only display 1 image. I can re-arrange the images in the back end, but whichever is the top-most ranking image is the only one that displays in the shop.

It's as if there is a setting to only display the 1st image in the list per product, but I can't crack it!


Thanks,

Seanie.