Ignore:
Timestamp:
Jan 6, 2012, 4:39:54 PM (12 years ago)
Author:
patdenice
Message:

Bug corrected with special images (like 3d pictures).
Work with question mark in urls = false.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/GThumb/js/gthumb.js

    r12710 r12857  
    11var GThumb = {
    22
     3  root: './',
    34  max_height: 200,
    45  margin: 10,
     
    4445    GThumb.queue.add({
    4546      type: 'GET',
    46       url: 'ws.php',
     47      url: GThumb.root+'ws.php',
    4748      data: {
    4849        method: 'pwg.images.getGThumbPlusThumbnail',
     
    5354      success: function(data) {
    5455        if (data.stat == 'ok') {
    55           jQuery('#gt'+data.result.id).prop('src', data.result.src).show();
     56          jQuery('#gt'+data.result.id).prop('src', GThumb.root+data.result.src).show();
    5657        } else if (loop < 4) {
    5758          GThumb.addToQueue(id, ++loop);
Note: See TracChangeset for help on using the changeset viewer.