Plugin Directory

Changeset 1696943


Ignore:
Timestamp:
07/16/2017 07:43:29 AM (9 years ago)
Author:
acekyd
Message:

Image patch

Location:
display-medium-posts/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • display-medium-posts/trunk/display-medium-posts.php

    r1685234 r1696943  
    7878    function posts_display($atts){
    7979        ob_start();
    80          $a = shortcode_atts(array('handle'=>'-1', 'default_image'=>'http://i.imgur.com/p4juyuT.png', 'display' => 3, 'offset' => 0, 'total' => 10, 'list' => false, 'publication' => false), $atts);
     80         $a = shortcode_atts(array('handle'=>'-1', 'default_image'=>'//i.imgur.com/p4juyuT.png', 'display' => 3, 'offset' => 0, 'total' => 10, 'list' => false, 'publication' => false), $atts);
    8181        // No ID value
    8282        if(strcmp($a['handle'], '-1') == 0){
  • display-medium-posts/trunk/public/css/display-medium-posts-public.css

    r1519135 r1696943  
    1212    #display-medium-owl-demo img{
    1313      display: block;
    14       width: 100%;
     14      max-width: 100%;
    1515      height: auto;
    1616      max-height: 240px;
Note: See TracChangeset for help on using the changeset viewer.