darknessmdk Posted June 22, 2009 Share Posted June 22, 2009 I was looking for a new way to build a CMS photo gallery for a client's site. The client has no photo editing capabilities and just wants to upload photos he takes with his 10 mega pixel camera. Obviously these will be large files dimension wise so I was looking for a way to resize these images through javascript or by php. I have made my own script using php but It uses too much server memory and fails on images larger than 2MB. I found the jcrop javascript and thought this was my holy grail, but all the tutorials i've found have the php doing the actual resizing of the image. Is there anyway to have a javascript do the image resize and just have the php copy and save it? Link to comment https://forums.phpfreaks.com/topic/163230-jcrop-image-resizing-issue/ Share on other sites More sharing options...
rhodesa Posted June 22, 2009 Share Posted June 22, 2009 instead of re-inventing the wheel, have them use something like Picasa or Flickr, then use a JavaScript widget to display the images on the site. This way you can use all of the third parties photo editing features, and they provide the bandwidth for hosting the images Link to comment https://forums.phpfreaks.com/topic/163230-jcrop-image-resizing-issue/#findComment-861250 Share on other sites More sharing options...
darknessmdk Posted June 22, 2009 Author Share Posted June 22, 2009 Unfortunately my client wants the files on his hosting. Is there some way that JavaScript can resize the image and have php just copy and save it? Link to comment https://forums.phpfreaks.com/topic/163230-jcrop-image-resizing-issue/#findComment-861266 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.