Page 1 of 23 12311 ... LastLast
Results 1 to 10 of 222

Thread: Post Images 1.2

  1. #1
    Theme & Plugin Development ties's Avatar
    Join Date
    Feb 2010
    Location
    Enschede, The Netherlands
    Posts
    379
    Blog Entries
    1
    Thanks
    14
    Thanked 133 Times in 58 Posts

    Post Post Images 1.2

    Post Images
    Version: 1.2
    Author: Matthis de Wit
    Created on: 2010/03/16
    Last Updated:
    2010/12/17
    Tested on: 1.3.0 ~ 1.4.2
    Plugins Required: None
    Plug & Play: No
    Supported: Yes

    Description
    Add thumb images to your posts. New: Can also get images from url (displays only images larger or same size of your thumb)

    Instructions
    1. Create a folder <hotaru>/content/images/post_images/
    2. Make the folder writable for php
    3. Upload the "post_images" folder to your plugins folder.
    4. Install it from Plugin Management in Admin.
    5. Edit options from the plugin settings page.

    Revision History
    v.1.2 2010/12/17 - mabujo - Added setting to enable use of post images in posts widgets
    v.1.1 2010/12/11 - mabujo - Added setting to enable use of post images in the related posts plugin
    v.1.0 2010/10/07 - mabujo - Fix for spaces in image file name error
    v.0.9 2010/10/07 - mabujo - Convert HTML entities into characters before getting mime type in cropImage
    v.0.8 2010/10/05 - mabujo - Check mime type of uploaded image instead of extension, fix for undefined index notice if no default url is specified.
    v.0.7 2010/09/09 - Alan - IE fix, language change
    v.0.6 2010/07/24 - Nick - Fix for undefined index error caused by updating Journal posts, and urlencoding for image file names
    v.0.5 2010/05/27 - Nick - Updated for compatibility with the Bookmarking plugin.
    v.0.4 2010/03/28 - Ties - New ui, added support for images relative to remote document, autoload images, again btn fix, clean url fix, black thumb fix
    v.0.3 2010/03/21 - Ties - Edit post bug fix, integrated link in template, safari bugfix
    v.0.2 2010/03/21 - Ties - Added PNG and Gif support, created template for the display function, fixed sizes of div cropselector and more added folder alert
    v.0.1 2010/03/16 - Ties - Released first version

    Future plans
    Switch from http://sitethumbshot.com/ to a cachable thumbnail provider (100.000 thumbs a month for free with upgradable subscription, but every thumb has to be loaded every pageload), anyone know one? PM me!
    To retrieve image directly from link, video inc replacement/incoporation
    Bugfixes
    Implement this for images without an extension

    Bugs

    Please click "Rate Thread" and give this plugin a rating. Thank you. Or click the thanks button!
    Made possible by http://links.gunaxin.com/ - NSFW
    Attached Thumbnails Attached Thumbnails post_image_plugi&#1.jpg   post_image_plugi&#1.jpg  
    Attached Files Attached Files
    Last edited by mabujo; 12-17-2010 at 03:17 PM. Reason: Update to version 1.2
    Up top, down low, to slow! - Documentation
    Theme's Newspaper - Nightlight Plugins Autocomplete 0.3 - Mobile 0.2 - Post Images 0.4 - Votebar 0.1


  2. #2
    Senior Member Gunaxin's Avatar
    Join Date
    Mar 2010
    Location
    Baltimore, MD - USA
    Posts
    117
    Thanks
    37
    Thanked 26 Times in 16 Posts

    Default

    Awesome work Ties, and very easy to implement. The cropping thing rules, and was totally above and beyond what I was expecting.

  3. #3
    Theme & Plugin Development ties's Avatar
    Join Date
    Feb 2010
    Location
    Enschede, The Netherlands
    Posts
    379
    Blog Entries
    1
    Thanks
    14
    Thanked 133 Times in 58 Posts

    Default

    @the cropping tool: you make life easy
    lets see what we can do to implement the picture on other locations, with priority to the RSS feeds of course
    Up top, down low, to slow! - Documentation
    Theme's Newspaper - Nightlight Plugins Autocomplete 0.3 - Mobile 0.2 - Post Images 0.4 - Votebar 0.1

  4. #4
    Senior Member baadier's Avatar
    Join Date
    Jan 2010
    Location
    Cape Town, South Africa
    Posts
    263
    Thanks
    80
    Thanked 14 Times in 10 Posts

    Default

    Awesome ties, going to implement it tonight and check it out cheers mate

  5. #5
    Theme & Plugin Development ties's Avatar
    Join Date
    Feb 2010
    Location
    Enschede, The Netherlands
    Posts
    379
    Blog Entries
    1
    Thanks
    14
    Thanked 133 Times in 58 Posts

    Default

    Bugfix (0.1 only)
    Bug with special characters in filename (post title)
    Fix: replace a line in the cropImage function
    Code:
    Current: $target = 'content/images/post_images/' . urlencode(preg_replace('/\s+/','_',$h->vars['submitted_data']['submit_title'])) . '_' . str_replace('.','_',microtime(true)) . '.jpg';
    Replacement: $target = 'content/images/post_images/' . preg_replace('/\W+/','_',$h->vars['submitted_data']['submit_title']) . '_' . str_replace('.','_',microtime(true)) . '.jpg';
    Name is only for human readability, so you can match an image with a post, if you think its useless:
    Code:
    Replacement: $target = 'content/images/post_images/' . str_replace('.','_',microtime(true)) . '.jpg';
    Last edited by ties; 03-21-2010 at 10:14 PM.
    Up top, down low, to slow! - Documentation
    Theme's Newspaper - Nightlight Plugins Autocomplete 0.3 - Mobile 0.2 - Post Images 0.4 - Votebar 0.1

  6. #6
    Member
    Join Date
    Mar 2010
    Location
    Indonesia
    Posts
    40
    Thanks
    28
    Thanked 1 Time in 1 Post

    Default

    great thanks

  7. #7
    Design & Development carlo75's Avatar
    Join Date
    Oct 2009
    Location
    Italy - Perugia
    Posts
    509
    Thanks
    62
    Thanked 105 Times in 58 Posts

    Default

    Awesome Matthis!!!
    Now when you have some spare time... pls try to implement the function to retrieve image directly from link, like Digg... thank you so much for all your work!!!!

  8. #8
    Theme & Plugin Development ties's Avatar
    Join Date
    Feb 2010
    Location
    Enschede, The Netherlands
    Posts
    379
    Blog Entries
    1
    Thanks
    14
    Thanked 133 Times in 58 Posts

    Default

    oke this should be do able with some javascript
    how about all of them in scaled down to 20x20px in a grid? on click you fill the cropbox, does that sound good to you?

    i was also thinking of maybe sort of replacing the video inc function, so if its youtube add the option for the youtube thumb and optional lightbox pop up in browser)
    Last edited by ties; 03-17-2010 at 12:52 PM.
    Up top, down low, to slow! - Documentation
    Theme's Newspaper - Nightlight Plugins Autocomplete 0.3 - Mobile 0.2 - Post Images 0.4 - Votebar 0.1

  9. Thanked by:


  10. #9
    Design & Development carlo75's Avatar
    Join Date
    Oct 2009
    Location
    Italy - Perugia
    Posts
    509
    Thanks
    62
    Thanked 105 Times in 58 Posts

    Default

    Sure! Sounds good like a dream!

  11. #10
    Senior Member Gunaxin's Avatar
    Join Date
    Mar 2010
    Location
    Baltimore, MD - USA
    Posts
    117
    Thanks
    37
    Thanked 26 Times in 16 Posts

    Default

    Anyone who wants to play with this new plugin from ties, or the up/down voting modification that I did can check it out on our still under development site.

    http://links2.gunaxin.com/ (NSFW, blah blah blah)

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •