• Uploading images is a giant pain now (since I’ve moved to 2.7) and I would really like to see this fixed. I would love to fix it myself if I only knew the correct path. Otherwise this is a bug and WP will have to address it.

    Uploading images (using either the browser uploader or the flash uploader, using several browsers on several operating systems) will not allow changes to the image display size. I am restricted to only using a full-sized image. Once uploaded I am able to edit the image and reduce the image size, but I am still not able to set it up to create a proper thumbnail and generate the usual link.

    All of this can be done manually in the HTML side of the editor.

    Here is an example of an image I have been working on:

    https://www.soundunreason.com/InkWell/?p=673

    I have fixed this page and all four of its images. The original code for the uploaded and WP edited image was thus:

    [caption id="attachment_684" align="aligncenter" width="252" caption="Edit Filter: After"]<img class="size-full wp-image-684 " title="editfilter-amarok2" src="https://www.soundunreason.com/InkWell/wp-content/uploads/2009/01/editfilter-amarok2.png" alt="Edit Filter: After" width="252" height="220" />[/caption]
    <p style="text-align: center;"></p>

    I was able to recode the HTML to fix the problems:

    [caption id="attachment_684" align="aligncenter" width="300" caption="Edit Filter: After"]<a href="https://www.soundunreason.com/InkWell/wp-content/uploads/2009/01/editfilter-amarok2.png" target="_blank"><img class="size-medium wp-image-684 " title="editfilter-amarok2" src="https://www.soundunreason.com/InkWell/wp-content/uploads/2009/01/editfilter-amarok2.png" alt="Edit Filter: After" width="300" /></a>[/caption]
    <p style="text-align: center;"></p>

    Essentially I am emulating the HTML from images I uploaded before 2.7 was released. As you can see WP is leaving out some important information. Further, the ability to use anything but the full-sized radio button (ie: thumbnail) is completely unavailable in both the uploaders and in the edit dialog.

    (The thumbnails are generated through rescaling at page rendering and are never stored on my server, so you can exclude a permissions issue.)

    Something changed in 2.7 which has completely broken this functionality. What has changed and what is the official solution?

Viewing 6 replies - 16 through 21 (of 21 total)
  • Thread Starter jamesisin

    (@jamesisin)

    Ok, I’ve sorted all the issues out and will create a post later to divulge in totality my findings.

    I do have one question for you: why do I want additional files created when the on-the-fly thumbnail WP creates for the post (not on the server) looks perfect?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    I do have one question for you: why do I want additional files created when the on-the-fly thumbnail WP creates for the post (not on the server) looks perfect?

    Because it doesn’t look perfect. On-the-fly resized images look awful in most people’s web browsers, because web browsers don’t do good resize operations. Also, when you have the web browser doing it, then it has to download this very large image which it then resizes to be very small. That takes a lot of bandwidth. Better to have a small version that they can get instead.

    And, the thumbnail created by WordPress does not necessarily have to be the same dimensions as the picture itself. It can crop images to create thumbnails too, if you have that option selected.

    Thread Starter jamesisin

    (@jamesisin)

    Well, I’ve tested it in Opera and Firefox on Ubuntu; Opera, Firefox, and IE (ack) on Windows; and Opera, Firefox, and Safari on my Mac. Only IE (not surprising) and Firefox (on Windows and Ubuntu) show any difference, and that difference is markedly subtle. I’ll test a bit more of how the WP generated tn’s work before I make my final decision, but thus far I’m leaning toward saving the space and backup on my server.

    Is there a way to tell WP not to generate the additional files?

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    No. However, having the smaller images on your server saves a TON of bandwidth. And bandwidth is more expensive. Compare your total page sizes with and without the thumbs generated and you’ll see the substantial difference. Smaller pages = quicker load time as well.

    Thread Starter jamesisin

    (@jamesisin)

    Hahaha, that assumes anyone besides me is viewing my blog pages. I appreciate your confidence in my work. Thanks for all your help on this one.

    I located my PHP.INI file in PHP5 for my MAMP and couldn’t find “extension=php_gd2.dll.”

    I too have a grayed out Large button in my “Add an image” window.

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Image Upload/Edit Borked in 2.7’ is closed to new replies.