I am using a php thumbnail script; its working on server but not on my local server. How I can run this script into my local server too ?
Pravesh_1 0 Junior Poster in Training
Recommended Answers
Jump to PostNot enough information. Could be just some settings.
Jump to PostAs pritaeas mentioned, it is probably a misconfiguration on localhost. Try to run this code in localhost:
<?php if ( extension_loaded( 'gd' ) && function_exists( 'gd_info' ) ) { echo "You have the GD Library installed"; } else { echo "GD Library is not installed"; } ?> …
Jump to PostBe sure the path to your images are correct and that the images actually exist. What is happening with the code? Are you getting just a broken image error?
If you have GD installed locally and this code is working properly on another server, I would think it could possibly …
All 11 Replies
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Banderson 29 Junior Poster in Training

diafol
Pravesh_1 0 Junior Poster in Training
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Pravesh_1 0 Junior Poster in Training
Banderson 29 Junior Poster in Training
almostbob 866 Retired: passive income ROCKS
Pravesh_1 0 Junior Poster in Training
almostbob 866 Retired: passive income ROCKS
Pravesh_1 0 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.