Jump to content
xisto Community
Sign in to follow this  
farsiscript

Gd Functions Questions

Recommended Posts

Hi allI want begin a new project , my new project is Photo blog ( weblog and image album ) in one script for example you can post many image in one post at once case . so its very good and very easy but we have some problems . if you can plz help me to fix this problemsfor example :we need change image size for page speed ( we dont want show 16 image in one page ) * we need GD functions to change image size to smaller and then show smaller image at page if you know source or tutorial about change image size plz post here . thankxwe know we can change image size (w . H ) in html <image> tag but if we use this algorithm we load real image in real size and our page goes to slow to loadingthanks all :)

Share this post


Link to post
Share on other sites

The function imagecopyresized is what you're looking for. In the PHP manual, it gives you an example code that is for resizing images.

 

http://us2.php.net/manual/en/function.imagecopyresized.php

Edited by truefusion (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.