Zen Cart Logo
Forums / General Questions / Simple Gallery Solution

Simple Gallery Solution

Locked

Views: 8,185

Results 21 to 34 of 34
This thread is locked. New replies are disabled.
3 Jan 2008, 4:02 PM
#21
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Simple Gallery Solution

lucky__starre:

In order to display additional images you need a main image to start with, it's usually the one uploaded when you add a new product, then you put all your additional images in the same file.

Usually the main image displays at the top of the product information screen, above the product details and all the additional images display below the product info, however with the removal of the Main Product Image code the main image doesn't show up anymore, What I did was name one of my images gallery.jpg, then made another copy of it and called it gallery_3.jpg so even though the gallery.jpg image doesn't display the gallery_3.jpg does.
You can leave the code in if you like but I like the look of it without better.

Does all that make sense?

Katie
www.live2knit.com.au

Hi Katie
This is perfect and what I have been looking for. I have a small problem which for the life of me I can't find the solution to. Having followed your instructions and those on the thread everything displays as it should except on the sub-category page where I have the thumbs for the pictures but it also shows a Price column and item name. Do you or anyone have an idea on how to get rid of them? Thanks once again

11 Jan 2008, 7:13 PM
#22
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: Simple Gallery Solution

agamic:

Hi Katie
This is perfect and what I have been looking for. I have a small problem which for the life of me I can't find the solution to. Having followed your instructions and those on the thread everything displays as it should except on the sub-category page where I have the thumbs for the pictures but it also shows a Price column and item name. Do you or anyone have an idea on how to get rid of them? Thanks once again

Oh well I guess it is a dead thread.........

12 Jan 2008, 9:07 AM
#23
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Simple Gallery Solution

You can choose which elements of the listing to display in admin > Configuration > Product Listing.

13 Jan 2008, 12:27 AM
#24
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Simple Gallery Solution

"but it also shows a Price column and item name"

That means your items are not being created as Document-General types, but as Document-Product or even Product-General.

Go check, and if that is the case, you will have to delete the items and start them over. You cannot change the product type of an existing item.

13 Jan 2008, 6:22 PM
#25
ficiousjigs_com avatar

ficiousjigs_com

New Zenner

Join Date:
Nov 2007
Posts:
17
Plugin Contributions:
0

Re: Simple Gallery Solution

I am trying to use this solution to have a picture gallery of fish caught on the products we sell. I am following the steps this thread is suggesting ... but when I go to insert the new document general product I get the following SQL error message. It appears that more fields are being written to the database than are being captured on the screen. It looks as if there is a mismatch between what I've put in on the screen and what is being written to the DB. Can anyone help with this?

1366 Incorrect integer value: '' for column 'products_virtual' at row 1
in:
[insert into zen_products (products_quantity, products_type, products_model, products_price, products_date_available, products_weight, products_status, products_virtual, products_tax_class_id, manufacturers_id, products_quantity_order_min, products_quantity_order_units, products_priced_by_attribute, product_is_free, product_is_call, products_quantity_mixed, product_is_always_free_shipping, products_qty_box_status, products_quantity_order_max, products_sort_order, products_discount_type, products_discount_type_from, products_price_sorter, products_image, products_date_added, master_categories_id) values ('0', '3', '', '0', null, '0', '1', '', '', '0', '1', '1', '', '', '', '', '', '', '', '10', '0', '0', '0', 'cust_pic.jpg', now(), '14')]

If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

Zencart v 1.3.7.1

16 Jan 2008, 12:50 PM
#26
agamic avatar

agamic

New Zenner

Join Date:
Apr 2007
Posts:
24
Plugin Contributions:
0

Re: Simple Gallery Solution

gjh42:

"but it also shows a Price column and item name"

That means your items are not being created as Document-General types, but as Document-Product or even Product-General.

Go check, and if that is the case, you will have to delete the items and start them over. You cannot change the product type of an existing item.

Thanks glenn I will look into that and revert if necessary.
Thanks once again

29 Sep 2008, 2:44 PM
#27
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

Re: Simple Gallery Solution

Hi Katie, I am going through the same struggle you went through... just two years later....and I am happy to find your post. I just went to your web site and looked at your customer and swatch galleries and am in the midst of trying this out myself... I have one quesiton... are all the images showing up in each gallery additional images? do you have a main image specified and if so how did you get all the images to line up? Helen

29 Sep 2008, 2:54 PM
#28
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

Re: Simple Gallery Solution

Katie and Others, Nevermind the post I just made asking about the main image and additional images, I just read through some of the other posts and I see how Katie did it so I'm going to try that... will post my example when I get it to work - that's thinking positively - Sorry, I thought I had read the whole thread, but I hadn't... Helen

29 Sep 2008, 11:11 PM
#29
lucky__starre avatar

lucky__starre

New Zenner

Join Date:
Sep 2006
Location:
Australia
Posts:
80
Plugin Contributions:
0

Re: Simple Gallery Solution

Great. glad you could figure it out, let me know if you have any other questions.

Katie
https://www.live2knit.com.au

1 Oct 2008, 2:58 AM
#30
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

Re: Simple Gallery Solution

I'm happy to say I followed what you did here, Katie, and it worked perfectly and I set up a few galleries of photos on this web site - http://www.foxhillfarmgrassfedbeef.com/ Click on Photos and you will see the Galleries... I think the layout is great! It wasn't difficult to remove the main picture and the write a review and tell a friend from tpl_document_general_info_display.php, there are comments specifying the beginning and end of the various coding... I'm using Fual/Slimbox... Overall I think it is great! I hope this serves as another example of this technique and thanks again!

P.S. Katie... I also like to knit... Helen

1 Oct 2008, 6:50 AM
#31
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Simple Gallery Solution

Helen, Trying to open the larger image of one of your cows made both Firefox and my PC crash. Just how big are your images ? Too much fodder perhaps ? :D

2 Oct 2008, 1:03 PM
#32
helensama avatar

helensama

New Zenner

Join Date:
Dec 2006
Location:
Northwest Connecticut
Posts:
87
Plugin Contributions:
0

Re: Simple Gallery Solution

Hi, That isn't happening here, but I reallly like to know something like that, I've made all the larger images a little smaller 760px X540px and resaved them in Photoshop with Medium quality and just looked at them again.... OK here on both the PC and Mac I work on, but I'm concerned, if you have a few minutes and can go back and try looking at the larger image, let me know if it is still happenind... also, was it just one of the images? Thanks!

5 Oct 2008, 3:01 PM
#33
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

Re: Simple Gallery Solution

Hi Helen,

I've changed pcs and everything's fine now. However, I'm no expert but a large image of 760x540 seems to be a heck of a size ! :shocking:

29 Apr 2010, 1:43 AM
#34
outbreak avatar

outbreak

New Zenner

Join Date:
Oct 2009
Posts:
35
Plugin Contributions:
0

Re: Simple Gallery Solution

I've been looking for this FOREVER!!! And it's only a few years old... :blush: Worked GREAT! Thanks a TON!