Hi Guys,

This is the only other issue I'm having with this module and it happens on all browsers. Is there anyway to prevent a preload, showing all the thumbnails stacked ahead of time? See attachment for details.

CommentFileSizeAuthor
#12 Screenshot-2.png308.88 KBarnieswap
views_slideshow_issue2.JPG112.86 KBraiyne

Comments

adamo’s picture

You don't really want to prevent pre-loading the images, you just want them not to be visible. Make sure that the CSS is getting loaded. I have load views_slideshow_singleframe/views_slideshow.css in hook_init() on every page (I have singleframe slideshow blocks on every page, and I use block caching). As long as I load the CSS in hook_init(), I never see all of the slides displayed on top of one another. If I don't load the CSS in hook_init(), I DO see all of the slides displayed on top of each other until the JS gets executed. Maybe this module should be loading the CSS in hook_init() instead of when generating the block.

raiyne’s picture

Right, thank you for putting the right words in my mouth! So, in being a relative beginner. is there an easy way to implement this hook, or can you direct me in where to begin?

adamo’s picture

You need to create your own module. At a minimum you need to:

1) Create a folder with the name of your module in sites/all/modules.

2) Create a file called modulename.info, with contents like this:

; $Id$
name = Module name
description = A description of what your module does.
core = 6.x

3) Create a file called modulename.module, with contents like this:

; $Id$

/**
 * Implementation of hook_init().
 */
function modulename_init() {
  // Load Views Slideshow CSS
  $base = drupal_get_path('module', 'views_slideshow_singleframe');
  drupal_add_css($base .'/views_slideshow.css', 'module');
}

4) Enable your module like any other.

For more info take a look here: http://drupal.org/node/206753

raiyne’s picture

Can anyone give more insight into creating my own module for the purpose of calling it as a hook? Is it a duplicate module? How do I call it in as a hook?

cookiesunshinex’s picture

subscribing

Kakulash’s picture

isn't this a bug?

it's not a major issue. but i'm just confused as to why everyone should create a new module instead of working on an actual fix.

subscribing.

raiyne’s picture

Just cause I'm unclear. Having the thumbnails generate when the view is called in is a bug? It should be called in previous to that?

Is there a simple way to hide the overflow of what is shown?

I feel like this module is so close for production use! I wish i knew how to code!!

raiyne’s picture

I apologize guys, this issue is related to a different module (Views Showcase), I originally mixed up and never noticed until now. I recreated the issue in the proper forum if you want to follow (http://drupal.org/node/648186).

However I would think the solution would be the same?

redndahead’s picture

Priority: Normal » Critical

Marking as critical to get a look before release.

redndahead’s picture

Status: Active » Postponed (maintainer needs more info)

js and css is now loaded in hook init. Try the latest dev release and tell me if there is still an issue.

redndahead’s picture

Status: Postponed (maintainer needs more info) » Fixed

Marking fixed from lack of response.

arnieswap’s picture

Status: Fixed » Active
StatusFileSize
new308.88 KB

I am facing the similar issues. I am using views_slideshow-6.x-2.x-dev.tar.gz but it did not solve the problem. Please have a look at the screenshot.

Arnie

redndahead’s picture

I can see your issue, but I'm not quite sure how to fix it. I specifically set the images that are flashing to display: none. So either your css isn't loading fast enough, or something in the script is causing it. I don't see this on any of my test sites so it seems it may be with the loading speed of your css. Not sure how to fix it though.

redndahead’s picture

Status: Active » Fixed

I'm marking as fixed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.