[wp-testers] Change Thumbnail size ?

Aaron Brazell aaron at technosailor.com
Thu Dec 1 20:20:31 GMT 2005


Well in Firefox 1.5 with the Rich Text Editor displayed, Using full size
does not work.  I do get a PHP error though wen "Browse All" is selected.

>> Warning: strtotime()
[function.strtotime<http://www.technosailor.com/wp-admin/function.strtotime>on
line ]: Called with an empty time parameter. in
/home/httpd/vhosts/technosailor.com/httpdocs/wp-includes/template-
functions-links.php53

In Firefox 1.5 with the RTE disabled, I get the same PHP error and the image
is inserted in plain text...

>>
http://www.technosailor.com/wp-content/uploads/2005/11/thumb-noc_logo_tag_blk.jpg
>> noc_logo_tag_blk.jpg

That may be expected behavior, I don't know.
**
As Podz said, IE6 RTE disable D&D does not work at all.

IE6 with RTE enabled, Browse All kicks a JS error (JS error) and still does
not insert full size.


On 12/1/05, Owen Winkler <ringmaster at midnightcircus.com> wrote:
>
> Aaron Brazell wrote:
> > Well, you can resize it using standard grab points.  That's probably
> why.
> > The only flaw in this I see though is that there's no way to constrict
> size
> > ratio.  If I grab the corner in Word or Photoshop, etc and hold the
> shift
> > key, the size is constrained. Not so in WP.
>
> The thumbnail produced is set to have a maximum width of 128 and a
> maximum height of 96, and be resized in proportion vertically and
> horizontally.
>
> When you drag the handles to make it bigger, the resolution of the
> thumbnail doesn't get bigger.  The editor just stretches the small image
> to the new size.  If you make it really big, that'll make the image look
> blocky.
>
> If you want a clear version, you should insert the full sized image:
> Cclick on the thumbnail in the browser, click "Using Thumbnail" until is
> says "Using Original", and then drag that into the post.
>
> There is currently no way to set the maximum thumbnail size to affect
> the thumbnails that are produced.
>
> Note- To determine resize with aspect ratio inside a maximum area, I
> think this works:
>
> xnew = ((xmax/xorig)/(ymax/yorig) >= 1) ? xmax : xorig * ymax / yorig;
> ynew = ((xmax/xorig)/(ymax/yorig) <= 1) ? ymax : yorig * xmax / xorig;
>
> Owen
>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
>



--
--
Aaron Brazell
Editor/Writer
http://www.technosailor.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://comox.textdrive.com/pipermail/wp-testers/attachments/20051201/a8d581ca/attachment.htm


More information about the wp-testers mailing list