Ignore:
Timestamp:
Aug 12, 2010, 11:27:21 PM (14 years ago)
Author:
grum
Message:

for panoramic images, add possibility to simulate presence of a high resolution image

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gally/gally-default/js/gallyjs-tpp.js

    r6109 r6752  
    160160}
    161161
     162function simulateHighRes()
     163{
     164  if(isScrollable && options.imageHaveHighRes==false && options.imageSimulateHighRes)
     165  {
     166    $('#theImgContainer').bind('click', function ()
     167      {
     168        openDisplayHigh($('#theImg').attr('src'));
     169      }
     170    ).addClass('pointer');
     171  }
     172
     173}
     174
    162175function initializeImageMode(mode)
    163176{
     
    241254
    242255  $("#theImage").css("top", imgTop);
     256
     257  simulateHighRes();
    243258
    244259}
Note: See TracChangeset for help on using the changeset viewer.