Home Messages Index
[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index

Re: [wp-hackers] Inserting image in original size in 2.0

  • To: wp-hackers@xxxxxxxxxxxxxxxxxxxx
  • Subject: Re: [wp-hackers] Inserting image in original size in 2.0
  • From: Roy Schestowitz <r@xxxxxxxxxxxxxxx>
  • Date: Sat, 17 Dec 2005 18:21:53 +0000
  • Delivery-date: Sat, 17 Dec 2005 18:21:55 +0000
  • Envelope-to: s@schestowitz.com
  • In-reply-to: <43A2C8D4.8050102@lynk.de>
  • References: <43A2C8D4.8050102@lynk.de>
  • User-agent: Internet Messaging Program (IMP) H3 (4.0.3)
_____/ On Fri 16 Dec 2005 14:01:56 GMT, [Marcus Grellert] wrote : \_____

Hi,

currently it is not possible (2.0 RC2) to insert an uploaded image with
its original
dimensions in the editor with just WP itself.

You need to look up the image dimensions in a seperate program and
resize the image accordingly.

You can't do that if you don't have the image <- different users
You don't want to do that <- well, it is possible in 1.5, why not 2.0;
lots of images; ...


Is this going to change for the initial release?


marcus

When you upload an image, it gets put under <install_dir> / wp-content/ uploads / year / month . The image on the server remains identical, so no resizing or pre-processing is involved. A thumbnail is generated on-the-fly, perhaps using PHP or ImageMagick. Set your editor to use quicktags under Users at the very bottom (untick the box). Then, when dragging an image thumbnail onto the writing area, only its full URL will be copied. If you want to then make quick use of that URL, consider bits like:

<p align="center">
<img src="[domain]/[path]/wp-content/uploads/year/month/example.jpg"
alt="example" title="example" />
</p>

From  my  point-of-view, the process has been simplified  tremendously.  I
wonder  if  making this addition of code in the quicktags case would  have
merit in terms of productivity.

In  1.5 there was no rich text editor, so one could argue that 2.0 is  not
missing anything, as far as image handling is concerned.

Best wishes,

Roy


[Date Prev][Date Next][Thread Prev][Thread Next]
Author IndexDate IndexThread Index