ericaustinlee
Forum Replies Created
-
Forum: Plugins
In reply to: [Smooth Slider] Internet Explorer 10So, I’ve written up a hack that solves this problem (for now), which I’ve tested in some IE 8.0/10.0 emulators. Essentially, the height tags need to be specified in the style tag (and I’ve also specified it in the HTML height tag attribute, just in case). Add the following bit of code below the comment which reads “/* If there is a width or height, set them as HMTL-ready attributes. */” in the following file:
/wp-content/plugins/smooth-slider/includes/sslider-get-the-image-functions.php
$temp_width = esc_attr($width); if(!$height){ /* find the dimensions of the original uploaded image */ $img_attr = getimagesize($image['url']); $widthz = $img_attr[0]; $heightz = $img_attr[1]; /* find the appropriate resize percentage */ $percentage = ($temp_width / $widthz); $new_height = round($heightz * $percentage); $stylez = $args['style']; /* find the max height setting from the smooth-slider properties */ preg_match('/max\-height\:(\d+)px/i',$stylez, $matches); $max_height = $matches[1]; /* if the new height ends up being larger than the max height set, then just set it to the max height to keep it constrained */ if($new_height > $max_height){ $new_height = $max_height; } /* set the new height */ $height = $new_height; /* Find the position of the end quotation */ $pos = strrpos($style, '"'); /* insert height style tag at the end based on the above position */ $style = substr_replace($style, "height:".$height."px;", $pos, 0); }Forum: Plugins
In reply to: [Smooth Slider] Internet Explorer 10I am having the same issue in both IE 8 and IE 10 as well.
It seems like the HTML height setting is empty, so it looks like:
height=””
Is this because of the maximum height setting that it sets in CSS, where it turns off the html height setting itself? Is there a way in the plugin settings it self to make sure this property is set for these older versions of IE?
Forum: Fixing WordPress
In reply to: Images don’t retain links when used in galleryHmm, this didn’t seem to work for me. I’m trying to link to an external URL and it continues to actually save the link to the file every time, no matter how many times I go back and re-save it.
Forum: Fixing WordPress
In reply to: Link to pages from a Galleryfreefall_y2k, I am getting this error too and it is thoroughly frustrating. No matter what I try it reverts to putting in the default link to the image. When I save changes it also only wants to save it as a medium-sized image and not as a thumbnail, no matter how many times I try. This bug definitely needs to be fixed.