Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #81  
Old 02-29-2008, 03:57 PM
darr's Avatar
darr Offline
forum loafer
 
Join Date: Mar 2006
Location: Tallahassee, Florida
Posts: 7
Hi Jay,

Thank you for such a time-saving plug-in. The plug-in does everything just fine for me except the thumbnails. It does produce the thumbnail, but the crop is on the left side- full frame only. When I view the thumbnail on pixelpost's default image/edit page it does not show up. Using FlashCrop, you can view the thumbnail on the page, but the edit function does not work. I am running Pixelpost 1.7.1, Firefox and Windows XP SP2. I do not experience this thumbnail problem when I upload manually to pixelpost.

Any suggestions?

Kind Regards,
Darr
__________________
CameraArtist.com
Reply With Quote
  #82  
Old 03-17-2008, 09:00 AM
Steffen Offline
forum loafer
 
Join Date: Mar 2008
Posts: 1
Piglet Integration and Spaces in Tags?

Thanks for the plugin. It's been a great help and it is much appreciated.

An easy way to add the extra functionality some user have asked for (i.e. watermarking and other image processing before upload) might be to use Jeffrey Friedl's piglet manager, which allows plugins within plugins . All the functionality is already there with Timothy Armes' Mogrify piglet.

I had a look at other plugins to find out how to modify your's to use the piglets. It doesn't seem too bad but not having gotten my feet wet with Lua I thought I'd rather check if you might be interested in doing it yourself.

One other thing. I do use a lot of tags with spaces (i.e. "South Pole"), which of course show up as "South" and "Pole" in pixelpost. Any chance these spaces can be automatically replaced by underscores during the upload?

Cheers,
Steff

www.Adventure-Antarctica.de
Reply With Quote
  #83  
Old 03-18-2008, 12:08 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
That Piglet Manager sounds very interesting. I may look into that in the future. But if you want it right away, feel free to mess around with the plugin. Once you've got it working with Piglets, send me the code and I'll release it to the world.

As for adding underscores for spaces, this should do the trick...

Go to your admin folder and open up pp_upload.php
On line 93, you should see something like this:

PHP Code:
// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', '); 
Add this code below that:
PHP Code:
$_POST['tags'] = str_replace(" ""_"str_replace(", "","$_POST['tags'])); 
So it looks like this:

PHP Code:
// Translate to Pixelpost format:
$_POST['headline'] = $_POST['title'];
$_POST['body'] = $_POST['description'];
$_POST['tags'] = trim($_POST['tags'],', ');
$_POST['tags'] = str_replace(" ""_"str_replace(", "","$_POST['tags'])); 
That should do it. Let me know if that works for you.
__________________
Jay Williams | A Different View
Reply With Quote
  #84  
Old 03-20-2008, 09:22 AM
Tiestoo's Avatar
Tiestoo Offline
pp regular
 
Join Date: Nov 2007
Posts: 33
I got a question about resizing in LR, a little bit off-topic maybe, but I hope I can find an answer here since all the people using Lightroom in combination with Pixelpost are reading here. And I really need an answer to this question to fully use this great addon!

The problem: When using this plugin, I let LR export my image in 800x533 to PP. In my opinion LR does a bad job on resizing images. Before this great addon was published, I dealed with the fact to always export in LR to a full-res JPG, and then resize with ImageShackle to a 800x533 image. Sounds kind a stupid huh? Here's why:

Resized by LR:

Resized by ImageShackle:


When looking to the vertical white stripe and the little window, you can see that the free widget ImageShackle does a better job on resizing than LR! Why?
I already changed the sharpening settings in LR, but that didn't work.

Does anybody know how to change something in LR, so it resizes like ImageShackle and I can fully make use of this great addon?
__________________
blauwgestreept.nl
Reply With Quote
  #85  
Old 03-20-2008, 10:13 AM
duncani Offline
forum loafer
 
Join Date: Nov 2007
Location: England
Posts: 12
Hi gang, If I want to strip the ".jpg" from the title when posting would the below php code be correct?

PHP Code:
$_POST['headline'] = str_replace(" "".jpg"str_replace(", "","$_POST['headline'])); 
Please correct me as I am unsure with any php coding!!!

Many Thanks
Duncan
Reply With Quote
  #86  
Old 03-20-2008, 04:24 PM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
Duncan:

To strip off the .jpg from the headline, you can use this code:

PHP Code:
$_POST['headline'] = str_replace(array(".JPG",".jpg"), "",$_POST['headline']); 
__________________
Jay Williams | A Different View
Reply With Quote
  #87  
Old 03-20-2008, 04:29 PM
duncani Offline
forum loafer
 
Join Date: Nov 2007
Location: England
Posts: 12
Nice one Jay! Thanks a lot
Duncan
Reply With Quote
  #88  
Old 03-26-2008, 11:32 AM
e300 Offline
pp regular
 
Join Date: Dec 2005
Location: Adelaide, Australia
Posts: 39
Jay - Just installed this plugin tonight and another Big thanks!

It is easy to install and easy to use. I have only uploaded a few images so far and had no problems.
__________________
My Pixelpost Blog
Reply With Quote
  #89  
Old 03-26-2008, 11:20 PM
GilesGuthrie Offline
forum loafer
 
Join Date: Mar 2008
Posts: 1
Awesome plugin!

One question: does it work with the ping-announce addon? Or is there a way to ping-announce entries made with LR after the fact?
Reply With Quote
  #90  
Old 03-27-2008, 12:42 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
It should work with any addon that doesn't require any user-intervention.

Meaning, if it "just works" when you publish photos using the web admin, it should "just work" when you publish photos using Lightroom.

However, I haven't tested that plugin, so I'm not 100% sure.
__________________
Jay Williams | A Different View
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 10:36 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs