I am using url check to deteremine language
mysite.net/tr/ and seo checker module is not able show passed.gif since the absolute url of gif:
mysite.net/tr/sites/all/modules/seo_checker....
instead of

mysite.net/sites/all/modules/seo_checker...
I solved this problem by a simple method, giving full url of image on seo_checker.module line 115

     'passed' => '<img src="/sites/all/modules/seo_checker/img/passed.gif" alt="' . $passed . '" />',

The original.

      'passed' => '<img src="/' . url(drupal_get_path('module', 'seo_checker') . '/img/' . $passed) . '.gif" alt="' . $passed . '" />',

CommentFileSizeAuthor
a.patch259 bytesAnonymous (not verified)
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

miruoss’s picture

Hi there

I cannot apply your solution. First of all I don't know if the module is in sites/all, sites/default or somewhere else. That's why I use drupal_get_path(). Furthermore, the base URL of Drupal might be http://www.yourdomain.com/drupal/.
Using a relative path, the gif would be loaded as

http://www.yourdomain.com/sites/all/module/seo_checker/img/passed.gif

instead of

http://www.yourdomain.com/drupal/sites/all/module/seo_checker/img/passed.gif.

miruoss’s picture

Assigned: Unassigned » miruoss
Status: Needs work » Fixed

I will use file_create_url() to generate the URL. Please check the next dev release.

Status: Fixed » Closed (fixed)

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

dedisoft’s picture

A little bit later...

file_create_url fix the problem.

Thanks !

miruoss’s picture

Fixed in version 7.x-1.6

miruoss’s picture

Issue summary: View changes

i have to put a line of code to in code tag because of code contains a img url