![]() |
Creating image thumbnails with PHP!
If we intend to make an image gallery, and we would like to show the thumbails of the images, it wouldn't be a wise idea to show the original images with their height & width modified in the <img> tag, that would result in low image quality & higher download time. The solution to this problem would be creating thumbnails at the server end and display them instead.
This solution can be approached in two ways, you can create the thumbnails once and for all or create thumbnails everytime at runtime. For this purpose, I wrote a class which will create the thumbnail. The class: PHP Code:
PHP Code:
|
Re: Creating image thumbnails with PHP!
Hi,
Your articles are really nice. I want to create thumbnails from a swf file.How can I do it.I tried FFMPEG but it is not working for swf files. Any help will be appreciated. |
Re: online PHP scripts!
Hi, you have shared really useful information with us. It has lots of worth for those people who want to start web hosting business. I'm running my own online business successfully with help of it provides me scripts to make easier to my business. I'm very thankful to that caters such kind of great services. Guru script is also a great resource for those guys who are wondering to start their online business. I hope my info will help to many beginners in online world.
Thanks! |
Re: Creating image thumbnails with PHP!
I used GD libraries too, now I'm using image magick with Imagick php libraries.
It's easy as: ... $im = new Imagick($image_filename); $im->resizeImage($x, $y, imagick::FILTER_LANCZOS, 1); $im->writeImage($thumbnail_filename); ... And it's better quality. Problem is that not any server has image magick installed. Thanks for sharing! |
Re: Creating image thumbnails with PHP!
This code is also useful
Code:
?php |
Re: Creating image thumbnails with PHP!
hi..
How to make the shopping cart site with free website creator..??? meet again. |
Re: Creating image thumbnails with PHP!
hii tat was an very useful yaar!
|
Re: Creating image thumbnails with PHP!
can any one help me..
how to write an php code for checkboxs.. code for checking all and unchecking the checkbox.. |
Re: Creating image thumbnails with PHP!
Hi friends,,,,I think this article is very nice., you have shared really useful information with us. It has lots of worth for those people who want to start web hosting business. I'm running my own online business successfully with help of it provides me scripts to make easier to my business. I'm very thankful to that caters such kind of great services..........thanks for sharing that.........regards,,,,
kajal,,:):):) |
Re: Creating image thumbnails with PHP!
This are really good coding of PHP! Thank you
|
| All times are GMT +5.5. The time now is 04:07. |