The thumbnails of images and galleries are working but the link to the full sized image is broken:

http://https%3A/%252Fmydomain/path/image.jpg

Comments

derjochenmeyer’s picture

btw... awesome module! exactly what we needed... thanks!

derjochenmeyer’s picture

Status: Active » Needs review

A possible fix >>

Here the original code which seems to be the problem:
fast_gallery.module, line 489

  else {
    $img_path = str_replace('http://', '', urldecode($img_path));
    $img_path = 'http://'.drupal_urlencode($img_path);
  }

This is my quick and dirty solution:
fast_gallery.module, line 489

  else {
    if ( preg_match('/^https/', $img_path) ) {
      $protocol = 'https://';
    }
    else {
      $protocol = 'http://';
    }

    $img_path = str_replace($protocol, '', urldecode($img_path));
    $img_path = $protocol.drupal_urlencode($img_path);
  }
rapsli’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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