About Katz Web Services
Katz Web Services is a web development company operated by Zack Katz.
-
Plugin Support Topics
Popular Posts
- Simple Vertical Align Plugin for jQuery
- How to Create a Custom RSS Feed in WordPress in 12 Lines of Code
- Contact Form 7 Modules - A Plugin
- iContact Widget for WordPress
- Gravity Forms Shortcode - A Detailed Explanation
- WordPress Content Spinner Plugin - SEO WordSpinner
- jQuery validator annoyances
- Weather Forecasts for WordPress - WP Wunderground Plugin
Tag Cloud
Blogging Website Redesign Design Google SEO CSS Web Design eCommerce Links WordPress Marketing Plugin SEO Interspire Customization Search Engine Optimization Functions.php Nofollow Code WordPress Plugins Search WordPress Development WordPress SEO Interspire Development Google Domains Denver SEO Shopping Cart Denver Interspire Shopping Cart Optimization WP Plugins
Tag Archives: images
Strip Extra ImageScaler Attribute from Plugin-Generated Code
I am using the ImageScaler plugin for WordPress on a project, and I like what it does, but it adds a non-standards-compliant attribute to images, such as:
<img class="" src="http://www.example.com/imagescaler/generated-image.jpg" alt="Example" width="258" height="234" imagescaler="http://www.example.com/imagescaler/original-image.jpg" />
To strip imagescaler’s imagescaler attribute, add the following into your functions.php file:
add_filter('the_content', 'strip_imagescaler');
function strip_imagescaler($content) {
$content = preg_replace('/imagescaler="(.*?)".?/s','', $content);
return $content;
}
Posted in WordPress
Tagged add_filter, Code, images, ImageScaler, Plugin, preg_replace, WordPress, WordPress Development, WordPress Plugins
Leave a comment
WordPress.com finally updates to 2.5 — A review
A picture [of my cat] is worth a thousand words.
I’ve been waiting for WordPress.com to update the administration panel so that I can have galleries. That is the main feature that I’ve been waiting for. Now it’s here, I can finally upload pictures of my cat (and my wife
)
This will also allow simpler embedding of video, audio, et al. I’m glad it’s finally live.
EDIT: There seem to be a few kinks still with this feature — instead of having thumbnails, the site was loading the full images. This is obviously an issue. Until then, you get a thumbnail of my cat in the grass.
Posted in Blogging
Tagged Blogger, Blogging, editor, gallery, Google, images, Web Design, WordPress, wordpress 2.5
3 Comments