ShopMadeSimple - multiple images

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
jimbomaha
New Member
New Member
Posts: 2
Joined: Mon Jun 23, 2008 7:00 am

ShopMadeSimple - multiple images

Post by jimbomaha »

Hi,

I've just been comparing the ecommerce packages, both look awesome so many thanks for all your efforts in putting these packages together.

I've decided to settle on Shop Made Simple for the moment and noticed that it lets you upload mutliple images, but the image view only allows for one image to be shown? How can you display all the images attached to a product?

Also it is normal that the product image is not resized (thumbnail) on the product listing page?

Cheers,

James
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

James,

I've landed myself in a similar quandry lately.

As I've started working with Shop Made Simple everything has been very direct except for these image concerns you have mentioned.  Im working on a js-driven three-image-per-product gallery (with the product info) and a thumbnail solution. Any thoughts?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: ShopMadeSimple - multiple images

Post by Dr.CSS »

Do your templates have a call for more than one image?...
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

Mark,
Thanks for responding. I have a foreach loop going as such:

{if $prodimage!='*none'}

{foreach from=$prodimage item=pic}
url}" alt='handmade leather' />
{/foreach}
{/if}


and its not returning any images.  I've gotten the template to return one image before but I can't figure out how to get access to the array and cycle through it.

Any thoughts?
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

In answer to your question,

I've tried simply adding multiple instances of the stock image call.  It yields multple instances of the same image.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: ShopMadeSimple - multiple images

Post by Dr.CSS »

Have you tried putting {get_template_vars} in the template where you found that code?...
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

Thanks Mark. 

That definitely gave me some access to the variable values.  I'm running into a problem, however, where it is only recognizing and returning one picture file-path when the control panel for this specific product is showing three. 

I'm still blocked on getting access to that array.  Any thoughts? I know it's time consuming to give advice with development however i can offer to put together a donation or some design work for free.  Do you think you can help?
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: ShopMadeSimple - multiple images

Post by Dr.CSS »

Do you have a link to what it ouputs when using that?...
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

Mark,
Yes. Here is the one product view in progress.  I can't get any mor ethan that one image to appear.

http://bishopandclerks.com/index.php?ma ... eturnid=52

I've donated and recieved the manual for the product but it only describes an automatic multi-image function.  This is not the case with my implementation. 

Any help is appreciated.

Sleeping Cavalry
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: ShopMadeSimple - multiple images

Post by KO »

You might want to connect with one of the developers of this module. Duketown seems to be quite active here but not necessarily noticed your post.

Or you could try using module Album and make album module call in products text field. In this case you would not be using ShopMadeSimple's built in image fields.
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

KO,

thanks for your response.  Regarding contacting Duketown, even after donating to them, they will not answer any emails whatsoever for two weeks.  It appears they all have more pressing obligations.

Also, the manual they provide upon donating contains little functional information.  The Module was supposed to include support for multiple images however, to the best of my knowledge, it does not. 

Any help would be appreciated.

Sleeping Cavalry
Duketown

Re: ShopMadeSimple - multiple images

Post by Duketown »

Sleepingcavalry,

I'm working on a solution, but it takes more time. Why? There are other projects that I'm working on and when I make a change, I want to be sure that, at least I think, the quality is good. In my view it is not only making the images available. I want to include thumbnails as well. So one major image (the first one encountered), next to this are the others as thumbnails. Once a thumbnail is hit, it will become the major image and thus switch.
To make this possible, I need to:
- prepare coding for the thumbnails switch (I have that, but need to build it in);
- when an image is loaded, I want the system to automatically prepare the thumbnail. This means that certain preference need to be in place (like what will be the size of the thumbnail);
- during an upgrade I want the thumbnails to be generated so, the user (read you) doesn't have to prepare those.
- test, test and test.

Sorry to keep you waiting,

Duketown
sleepingcavalry
Forum Members
Forum Members
Posts: 19
Joined: Thu Feb 05, 2009 1:37 am

Re: ShopMadeSimple - multiple images

Post by sleepingcavalry »

Duketown,

I appreciate the reply.  If you would like, I can work with the Javascript components in product templates.  That could help take one item off your list. 


let me know,

SleepingCavalry
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm
Location: Helsinki, Finland

Re: ShopMadeSimple - multiple images

Post by KO »

Here is cool thumbnail gallery that works with CSS and no javascript needed for basic hover-thumb-show-largeImage function.
http://www.dynamicdrive.com/style/cssli ... e-gallery/
First image could be background image. And bit help of js, images could stay visible on mouseOut. I might have some js for that also.

CTLmodulemaker - module might also give you some ideas how to get image things working in module. You might want to check it out.
http://dev.cmsmadesimple.org/projects/ctlmodulemaker
Post Reply

Return to “Modules/Add-Ons”