Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 03-03-2005, 07:03 PM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
Mod: Selective Crop for Thumbs

Hi!
I've integrated a great tool for cropping images with the Pixelpost's crop thumbnail option in admin menu. When the cropping option is on, Pixelpost 1.3 crops images from top-left point with a specified width/height and then shrinks them to thumbnails. In this way, you may lose center of attention of the photo in the thumbnail. But this modification allows you to crop your photos selectively before creating thumbnails.
This became posssible with the help of a great open source script for croping images online: http://12cropimage.roelmeurders.com/

If you don't have a clear clue about what it does, take a look at its online demo and see the awsome results.
12CropImage Demo: http://misc.roelmeurders.com/demo/12cropimage/

This modification in admin/index.php is now in the testing phase and if you are willing to test it please PM me and I'll send you the link for download.

I'm using this on my photoblog admin section and this is a snapshot of the modification :


Ramin

UPDATE: (with a high possiblity this modification will be included in the next version of pixelpost.)
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #2  
Old 03-03-2005, 07:25 PM
greentraveler's Avatar
greentraveler Offline
pixelpost guru
 
Join Date: Oct 2004
Posts: 106
Your additions never cease to amaze me, Ramin. So cool!

Reply With Quote
  #3  
Old 03-04-2005, 06:14 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
thank you greentraveler. Don't you want to test it?
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
  #4  
Old 03-04-2005, 07:23 AM
raminia's Avatar
raminia+ Offline
Team Pixelpost
 
Join Date: Jan 2005
Location: FL, US
Posts: 3,706
Send a message via Yahoo to raminia
ok I think it's now in a stable condition with slight known bugs.
You can download it from
www.raminia.com/temp/admin_index_12crop_v22.zip

and test it and report the unknown bugs

Instruction:
0) First, don't forget to backup you admin/index.php file.
1) extract three files of the *.zip file to the admin folder and make sure to replace the admin/index.php file of yours with this new admin/index.php
2) To enable it, go to Admin>>Option menu in the "Crop thumbnails?" section select '12c' which referes to 12cropimage in the drop box.
3) Upload a new Image and when it is uploaded, it shows the image but it does not create thumbnail untill you press the crop button. Yes! 3 buttons added and they are shown as "crop" "+" and "-".
You can enlarge the back/white crop windows or make it smaller by pressing + and - buttons. in addtion you can move the crop window accros your image and decide where to put the crop frame.
4) when you finished with the adjustment of crop window size and placement, press crop and you're done!
5) good luck and report bugs please

known bug:
1) It has problem with small images. actually images with size smaller than the specified thumbnail size in the admin>>option menu.
__________________
Photoblog: http://pblog.raminia.com Powered by Pixelpost 1.7
Reply With Quote
Post Reply


Thread Tools




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

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