Plugin Directory

Changeset 489583


Ignore:
Timestamp:
01/13/2012 09:59:41 PM (14 years ago)
Author:
iMuslim
Message:

Uploading v 1.0.5 - changes made to improve the quality of embedded images.

Location:
islamic-graphics/trunk
Files:
26 added
12 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • islamic-graphics/trunk/islamic_graphics.php

    r489053 r489583  
    3737   
    3838    $plugin_url = plugin_dir_url( "islamic_graphics.php" );
     39
     40    $html = "<img class=\"islamic_graphic\" src=\"$plugin_url" . "islamic-graphics/img/";
    3941   
    40     return "<img class=\"islamic_graphic\" src=\"$plugin_url" . "islamic-graphics/img/$code" . ".png\" height=\"{$h}px\">";
     42    if ("{$h}" <= 20) { $html .= "20"; }
     43    else { $html .= "40"; }
     44   
     45    $html .= "/$code" . ".png\" height=\"{$h}px\">";
     46   
     47    return $html;
    4148    }
    4249
  • islamic-graphics/trunk/readme.txt

    r489053 r489583  
    7272== Changelog ==
    7373
     74= 1.0.5 =
     75Images have been resized to prevent aliasing. Function now includes condition: when 'h' <= 20, 20 pixel tall images are used, else 40 pixel tall images are used.
     76
    7477= 1.0.4 =
    7578Replaced swt.png and swt_w.png images.
     
    9093== Upgrade Notice ==
    9194
     95= 1.0.5 =
     96Changes have been made to improve the quality of embedded islamic images.
     97
    9298= 1.0.4 =
    9399Upgraded images for "subhanahu wa ta 'ala" phrase.
Note: See TracChangeset for help on using the changeset viewer.