i enabled module and created a gallery in a node but i can't see images and in watchdog i see an error "modules/brilliant_gallery/image.php not found"

Comments

josh@pixael.com’s picture

my site is installed in a subdirectory... i think this is the problem

josh@pixael.com’s picture

sorry the problem is that brilliant_gallery is not compatible with Internationalization module

so image.php is searching under
site.com/EN/modules/brilliant_gallery/image.php
instead of
site.com/modules/brilliant_gallery/image.php

josh@pixael.com’s picture

fixed using

$modulepath = base_path() . drupal_get_path('module', 'brilliant_gallery');
instead of
$modulepath = url(drupal_get_path('module', 'brilliant_gallery'), NULL, NULL, TRUE);

in brilliant_gallery.module

please provide a patch or a new stable version

tnx

vacilando’s picture

Version: 5.x-2.9 » 5.x-2.14
Status: Active » Fixed

Fixed in v2.14 (just out).

Zarei’s picture

Hi,

I still get the same problem using v.2.14. I'm using Internationalization module v.5.x-2.2.

Even after disabling Int. module I still get an extra /*lang*/ in the image path.

For example the path will be:

"http://myhost.com/drupal/sv/files/albums/test/pics.jpg"

where it should be

"http://myhost.com/drupal/files/albums/test/pics.jpg"

Any way to fix this?

Anonymous’s picture

Status: Fixed » Closed (fixed)

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