• Hi,
    does anybody know if the following functionality exists in a hack? I am looking for hacks that do the following:
    1) when I post by mail or mobile phone an image with text I would like that the image automatically is displayed as a thumbnail. When somebody clicks on the thumbnail it should open the original picture in a pop-up window.
    2) manage uploads from the “Wite Post” menu, similar to FrontPage with automatic thumbnail generation and possibility to open the images in a pop-up.
    Thanks for your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • https://www.ads-software.com/support/10/7350
    That handles #2. I’m not sure about the e-mail posting system but I don’t think it can handle #1. Ringmaster can correct me if I’m wrong about that.

    Hmm… from email, eh? Well Exhibit doesn’t do any email filtering, although I’m seem to remember a hook in the WP code for that somewhere.
    Yeah, the filter is called “phone_content”, and it happens after WP strips all of the good HTML from the image (including the img tag) and completely ignores anything but the quoted printable content of a multipart email message.
    A plugin that does #1 would be a challenge, I think, and require a ton of tweaking (aka rewrite) to the wp-mail.php file.
    It would be possible to rewrite wp-mail.php so that it looked at the attachments. It might be easier to include a prewritten POP3 class that supports attachments to do this. I would be more motivated to write this myself if I had a camera phone. If you’re patient enough to wait until Verizon supports the Treo 600, you might see me release this functionality.

    Thread Starter Michiel

    (@michiel)

    Hi! Thanks for helping out! Too bad regarding #2, I was looking to integrate a moblog like feature. It would be really cool to send an text with picture from the mobile phone to get it published instantly:-)

    I downloaded a replacement for wp-mail.php just the other day that did exactly that. Where did that go…
    Here it is:
    https://blade.lansmash.com/index.php?p=39
    Does file attachments but not thumbnails yet. You will need to install the PEAR core if you don’t have it already. It’s easy enough just to drop the file in the plugin directory if you don’t have it in a system path.

    Thread Starter Michiel

    (@michiel)

    Super! I will try it rightaway! What is the PEAR core and where do I get it from?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘handling images’ is closed to new replies.