Comments on: com_resize on wordpress plugins http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/ A blog on rails, php, computing, my bass guitar and stuff Wed, 17 Oct 2012 04:54:02 +0000 hourly 1 http://wordpress.org/?v=3.5 By: LeonB http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-327 LeonB Thu, 11 Sep 2008 19:00:43 +0000 http://www.vanutsteen.nl/?p=48#comment-327 @Robert: thank you for you comment. I’ve added the sinqle/double quotes fix. Although the regexps in your post are exactly the same :)

Feature number two: the height/width problem. Well, it works for me ™. If you have some html-code to demonstrate what’s going wrong I’ll update it. But I can’t find the mentioned flaw.

Version 0.1.3 is now available !

]]>
By: Robert DeBenedictis http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-326 Robert DeBenedictis Thu, 11 Sep 2008 16:36:49 +0000 http://www.vanutsteen.nl/?p=48#comment-326 Hi,
I think com_resize is great. There are two things that would
make it better for me. The first is that I would like it to work
with images where the src attributes uses single quotes. You
can do that by modifying preg_match_all() in resize.php on
line 28 from this:

preg_match_all(‘##isU’, $text, $image_matches);

to this:

preg_match_all(‘##isU’, $text, $image_matches);

The other feature request is for com_resize to work with images
when the width is specified but the height is not (it works fine,
though, when the height is specified but the width is not). To
do this you just need to initialize $dimensions before the two
conditionals that set the width and height variables:

// added this fix for when width is specified but height is not
$dimensions = “”;

Thank you for building com_resize.

Robert

]]>
By: LeonB http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-16 LeonB Sat, 24 May 2008 21:38:16 +0000 http://www.vanutsteen.nl/?p=48#comment-16 @Roger: please look at: http://www.vanutsteen.nl/2008/05/24/images-why-you-need-com_resize/

]]>
By: Roger http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-14 Roger Sat, 24 May 2008 12:43:39 +0000 http://www.vanutsteen.nl/?p=48#comment-14 Question: If I change the width or height in the IMG-Tag, the browser resizes the image. So why I need your plugIn?

It would be great if you give 1 example for the usage of the plugin. Don’t you think so?

]]>
By: LeonB http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-10 LeonB Mon, 19 May 2008 14:07:34 +0000 http://www.vanutsteen.nl/?p=48#comment-10 It only uses the height and with of the img-tag. It could be possible to use external css, but then it would be so complicated that the plugin wouldn’t be “simple” anymore.

So It’s not likely that that features get supported. If it’s inline css though, it would be a _lot_ simpler.

]]>
By: Meerblickzimmer http://v3.vanutsteen.nl/2008/04/27/com_resize-on-wordpress-plugins/comment-page-1/#comment-9 Meerblickzimmer Mon, 19 May 2008 13:52:00 +0000 http://www.vanutsteen.nl/?p=48#comment-9 Hi!

It looks like a great plugin, but one questiong. The plugin use the with and height from the img-tag? I like to use css-classes and define the with and heigt there. It works with css-classes too?

Thanks for your time and work!
M

]]>