Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 01-12-2006, 05:01 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Cache EXIF to DB (PP 1.5 ONLY!!!)

Note: this addon is for Pixel Post 1.5 only

As seen from the discussions at http://forum.pixelpost.org/showthread.php?t=3103 the EXIF extraction process in Pixel Post creates a needless load and delay on the server - this addon is an attempt to solve the problem by caching the EXIF data in a table when the image is uploaded OR viewed for the first time. My results show that this can make Pixel Post upto 3 times faster however do note that this speed is in milliseconds and will not be appreciable to most

Download from http://se.nsuo.us/contrib/admin_EXIF2DB.php.zip

Disable the default EXIF handling in Pixelpost 1.5 by commenting out the stuff between
index.php:439 and index.php:549

If you want that the EXIF data should be deleted when a picture is deleted then add a workspace to the image_edit.php. Near the end of action x=delete add
PHP Code:
eval_addon_admin_workspace_menu('image_deleted'); 
@devs - we really need a workspace here any addon which uses image_upload will also use image_deleted

Please note editing the core files is not a good idea generally - so do it only if you know what you are doing and can keep track of all the modifications you have done
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #2  
Old 01-12-2006, 10:30 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
thanks i added the new workspace to our development version.
Reply With Quote
  #3  
Old 01-12-2006, 10:54 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Quote:
Originally Posted by Joe[y]
thanks i added the new workspace to our development version.
Thanks - another Item deleted from my "Check when updating list"
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #4  
Old 01-31-2006, 09:13 PM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
Would it be possible to have an admin interface for editing EXIF info in the database? It would allow those of us that use nikons can fill in the missing info. Or those that shoot film can scan in photos but still have the exif info available.
Reply With Quote
  #5  
Old 02-01-2006, 04:16 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Quote:
Originally Posted by dakwegmo
Would it be possible to have an admin interface for editing EXIF info in the database?
Yes the Addon can be expanded to do what you want - only if someone would do it
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #6  
Old 02-03-2006, 01:32 PM
dakwegmo's Avatar
dakwegmo+ Offline
Team Pixelpost
 
Join Date: Jul 2005
Location: West of Between
Posts: 689
I would gladly take on the project, except what I know about php wouldn't fill a thimble. Perhaps some other generous soul might be willing to take up the task.
__________________
My Photoblog
If you find my help useful please consider feeding the PixelPost Kitty
If you're short on cash just feed my ego
Reply With Quote
  #7  
Old 02-04-2006, 03:27 AM
se.nsuo.us Offline
pixelpost guru
 
Join Date: Dec 2005
Location: Somewhere in India
Posts: 624
Yes if someone would like to do this - I would be willing to provide whatever inputs needed from my side
__________________
http://se.nsuo.us - A photoblog of sensual, abstract nudes [may not be work safe for some]
My Pixelpost Addons, Cheesecake-Photoblog Software
Reply With Quote
  #8  
Old 09-04-2007, 10:42 AM
iHamad's Avatar
iHamad Offline
pp regular
 
Join Date: Aug 2007
Posts: 49
is this addon compatible with PP V1.6 ??
__________________
my photoblog
Reply With Quote
  #9  
Old 09-04-2007, 10:44 AM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
Note: this addon is for Pixel Post 1.5 only

Pixelpost 1.6 has it's own caching methods.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 06:49 AM.

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