Changeset 16507 for branches


Ignore:
Timestamp:
Jul 8, 2012, 7:15:40 PM (12 years ago)
Author:
flop25
Message:

bug:2683
create get_size_css

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.4/include/derivative.inc.php

    r15431 r16507  
    315315  }
    316316
     317  function get_size_css()
     318  {
     319    $size = $this->get_size();
     320    if ($size)
     321    {
     322      return 'width:'.$size[0].'px; height:'.$size[1].'px';
     323    }
     324  }
     325
    317326  function get_size_htm()
    318327  {
Note: See TracChangeset for help on using the changeset viewer.