Creating Thumbnails with GridFS + MongoDB + PHP -


i'm creating site client selling photography sells lot of , quite bit of traffic. around 2k-5k uniques day. i'm using mongodb php , read should use gridfs store these large files. upwards of 2mb-5mb photos, bw extremely spendy (im on cloud hosting) , loading of of these images make page loads take forever.

so, how create thumbnails gridfs in php , mongodb? googled , can't seem find real information except people pointing to: http://www.php.net/manual/en/class.mongogridfs.php

but im not sure information. need (i hope not, sort of messy):

upload -> store original -> use gd lib resize original -> resized image gridfs meta value original image?

i ended creating own thumbnails after saving mongodb gd2 , saving thumbnails alongside full size.


Comments

Popular posts from this blog

ASP.NET/SQL find the element ID and update database -

jquery - appear modal windows bottom -

c++ - Compiling static TagLib 1.6.3 libraries for Windows -