If you have unicode characters in any of your picture files (spaces, commas, apostrophes etc), they won't show in the main slider display. Use the following code to fix the issue. I'm not sure how to make/use a patch file, sorry

Look for this line in views_invo_slider.module (around line 117):
$image_url = $field_output;

Add the following 3 lines directly after it

$image_url = urlencode($image_url); 
$image_url = str_replace("%2F", "/", $image_url); 
$image_url = str_replace("%3A", ":", $image_url);  

Comments

pedrofaria’s picture

Status: Fixed » Postponed (maintainer needs more info)

Hi BrisCoder,

i didn't managed to reproduce this bug.

In drupal url function, who create urls for your drupal site, cares about this problem...

You can see how it work at http://api.drupal.org/api/function/url/6 and http://api.drupal.org/api/function/drupal_urlencode/6

Send me more info, please...

Thanks for your time spent on this module!

BrisCoder’s picture

Pedrofaria, try uploading an image that has spaces, commas etc in the image's filename. See if it shows in your slider.

For me it wouldn't show in the slider, however when I view the page source and click on the image url, it works. Therefor it's an issue with the slider itself displaying an image (hence the code I gave above).

pedrofaria’s picture

BrisCoder,

I did this test before post my reply and work fine... i swear...

Check if there is a javascript error or if views_nivo_slider.js is included...

thanks.

boysetsfire’s picture

Thank You!! That's worked perfectly! :)

pedrofaria’s picture

Assigned: BrisCoder » Unassigned
Status: Postponed (maintainer needs more info) » Fixed
twandy’s picture

That code fixed my issue. Thanks a ton BrisCoder.

Status: Fixed » Closed (fixed)

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

silkogelman’s picture

Had the exact same issue as BrisCoder states.
Views Nivo Slider 6.x-2.0
jQuery Update 6.x-2.x-dev
ImageCache 6.x-2.0-beta10

Using images without spaces solved it for me, but that's more of a workaround than a permanent solution.

People that want this workaround on production sites: you can use the filefield_paths module to make sure you create filenames without unicode characters. However BrisCoder's solution is more solid, so I'd vote for putting that code into the next dev.

Kutakizukari’s picture

Removing the spaces from my images worked for me. Thanks!

dangerfinger’s picture

Awesome BrisCoder! This fixed the problem for me. I sure hope they include this in the next version of the module... which will hopefully be out soon.

gbelot2003’s picture

I have the same problem, and I am using images without spaces, already use the the pach is up, but don't work.

I used nivo before, so this is the first time I having this problem.....
in the preview, I just see the images is inside a span image1
once in the node, there is no image...

What can it be??

Someone know why is this bug happening??

thks

johnflyersmith’s picture

Status: Closed (fixed) » Active

Hi,
As user 1, I see no images, just url. This is the first time using Nivo one windows server 2003, allways had good luck with linux. I have done all the above. It seems to lose the image when I set 'Views Nivo Slider' of 'Row Style:' the preview looses the image.

aiphes’s picture

i've the same issue as #12 on ubuntu server...