Hi,
First, thanks for a great module. I am hoping I can get some help with my issue.

I have my drupal (6.4) installed in a subdir of the main domain.
I have CCK and ImageField installed
I have jcarousel_block installed and showing in the nodes.
for eg. http://epro.com.au/epro/node/21

The issue I have is when the block shows there are no images in the carousel.
when I look through the source of the page it shows:

and the images are pointing to epro.com/sites/default/files/pics/EDGE_logo_Running.gif
rather than epro.com/epro/sites/default/files/pics/EDGE_logo_Running.gif

Is there something I can do to make this work?
Is the module not reading the baseURL correctly or is it something I have done?
Any assistance would be greatly appreciated.

With Regards
Wakido

Comments

yang_yi_cn’s picture

Hmm.... that's something i didn't tested. Let me try to fix it today and make a new release

yang_yi_cn’s picture

It seems that I was using

    $formatted_image['path'] = '/' . $image['filepath'];
    $formatted_image['thumb_path'] = '/' . $thumb_path;

, which is fixed.

Now I've changed it to something like

   global $base_url;
...
    $formatted_image['path'] = $base_url . $image['filepath'];
    $formatted_image['thumb_path'] = $base_url . $thumb_path;

and hopefully it fixed the problem.

yang_yi_cn’s picture

Status: Active » Fixed
yang_yi_cn’s picture

I rolled a 1.5 release for that. Please try it.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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