Awesome work Ties, and very easy to implement. The cropping thing rules, and was totally above and beyond what I was expecting.
@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
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';
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!!!!
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)
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)
I try this pluging, but it does not work .. after install do i have to do anything to the templates?,, the image show on the post but when i submit image is broken and it does not show.
did you follow the instructions? Read the known bugs http://hotarucms.org/showthread.php?559-Post-Images&p=2620&viewfull=1#post2620 If so please sent me a link to view the problem
Looks like there's an issue with Opera (following screenshots taken in Opera) EDIT: Tested on IE8 and here's how it looks Other than that, I've Installed it and I love it (tested on FF and chrome)! Would be great to implement what carlo suggested
okay i use chrome, for ...everything, i didn't test it because all it does is add HTML: <div><img /></div> and the css has only a float:left; to the div but i will add width and height to the image and add a link to the img and see what i can do with the float because it looks horrible indeed
Ok following problem is solved. It looks like one needs to place a default.jpg file under /content/images/post_images and select Default url in Post Images Settings EDIT: As a query, can the thumbnail be removed when one is reading/on the actual story (similar to the one in the video plugin where the thumbnail is available only on the front page and not available on the main stroy)?