thesarge Posted August 5, 2016 Share Posted August 5, 2016 I have website with a API coded shopping shopping cart. I need a code so when a customer uploads an image they can resize the image by clicking on the different arrows to make the image smaller or larger and center it on the garment. I guess you can tell from the way Im asking this question that Im not a tech person and I dont know if Im in the right place to ask the question. So any help or direction you can give will be most welcomed. Quote Link to comment https://forums.phpfreaks.com/topic/301764-api-shopping-coding/ Share on other sites More sharing options...
QuickOldCar Posted August 5, 2016 Share Posted August 5, 2016 If you need to stay on the page and reload only that look into jquery or ajax codes pertaining to it, otherwise can use a form with POST or GET so it loads your specific image size requested. That will reload entire page with the set image size. You can use css to change the image being displayed or even gd or imagmagic and store these images for future use. Is quite a few image resize scripts around. Then can cache the images. Quote Link to comment https://forums.phpfreaks.com/topic/301764-api-shopping-coding/#findComment-1535640 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.