Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r23440: LJSUP-14494 (Save user's picture sizes f...

Committer: ailyin
LJSUP-14494 (Save user's picture sizes for pictures with width less than 900 px)
U   trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl
===================================================================
--- trunk/cgi-bin/cleanhtml.pl	2012-12-07 10:53:00 UTC (rev 23439)
+++ trunk/cgi-bin/cleanhtml.pl	2012-12-07 12:51:53 UTC (rev 23440)
@@ -1138,12 +1138,10 @@
                         my $width = $hash->{'width'};
                         if ( $width && $width !~ /\%$/ ) {
                             $width =~ s/\D//g;
-=head
                             if ( int $width > $maxwidth ) {
                                 delete $hash->{'width'};
                                 delete $hash->{'height'};
                             }
-=cut
                         }
 
                         #$img_bad = 1 if ( $opts->{'img_placeholders'} );

Tags: ailyin, andy, livejournal, pl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments