Discussions

Where are Slideshow settigs

Hi

In Drupal Views you can set slideshow behavior when Add Image. Where are this settings in Drupal Commerce ?

Thants to all

Posted: Sep 12, 2012

Comments

einsk on November 14, 2012

hi
it seems that there are no view settings for the commerce kickstart slideshow
but you can 'hack' it in the
commerce_kickstart_slideshow/commerce_kickstart_slideshow.js
or overide this by your theme settings

bc on April 6, 2013

On the settings page mentioned by TribalMan, I selected "Scale and crop 600x320". I then used the following CSS to get the button on the right hand side of the viewport. I'm not sure if this is the best way to do it, but it seems to work in the major browsers.

.bx-viewport {
    width: 600px !important;
    height: 320px !important;
    float: left;
}

.views-field-nothing {
    position: relative !important;
    float: right !important;
    width: 300px !important;
    top: -200px !important;
    left: 350px !important;
}

.bx-controls {
    width: 300px;
    height: 320px;
    position: relative !important;
    float: right !important;
}

.bx-prev {
    position: relative !important;
    float: right !important;
    vertical-align:top;
    margin-top: 0 !important;
    margin-right: 0 !important;
    width: 300px !important;
}

.bx-next {
    float: right !important;
    margin-top:300px;
    vertical-align:bottom;
    width: 300px !important;
}

corbin on April 9, 2013

if you want to modify the width of slideshow / images (whatever width have the images you upload, you get 940 px), you can modify :

profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_slideshow\commerce_kickstart_slideshow.features.inc

at line 44
'width' => '940',
AND
line 45 for height
'height' => '480',

i change for 700 & 357
AND i remove images from the content AND i remove files in all folders (in sites/default/files/styles/) AND empty caches AND re-upload my images AND ... it works ;-D

(same thing for the blog : profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_blog\commerce_kickstart_blog.features.inc)

and note modifications for updatings !

barney on May 23, 2013

profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_slideshow\commerce_kickstart_slideshow.features.inc

at line 44
'width' => '940',
AND
line 45 for height
'height' => '480',

I made these alterations and saw no effect, have cleared caches and re added Slideshow content too.

But when I checked the settings page at: admin/config/media/image-styles/edit/hp_slideshow it shows me my custom image scale is being applied to slideshow images

Any ideas?

dukemedia on July 15, 2013

I modified this:
profiles\commerce_kickstart\modules\commerce_kickstart\commerce_kickstart_slideshow\commerce_kickstart_slideshow.features.inc
at line 44 'width' => '940',
line 45 'height' => '480',

then I overwrote defaults with my size at admin/config/media/image-styles/edit/hp_slideshow

AND IT WORKED!

thanks