Skip to content
This repository was archived by the owner on Jun 9, 2019. It is now read-only.

Conversation

@Ahmadrameen
Copy link

Thanks for the great code, i really appreciate it. I was searching for this kind or code for a long time so i found it here.

i made a question in this website:

http://stackoverflow.com/questions/25892579/my-script-can-uploads-the-avatar-profile-image-but-cant-change-the-size-height

but i do not know how to embed it to my code can you please guide me through.

thanks and regards.

tchalvak and others added 30 commits January 29, 2010 14:03
…onstants based on frequency, should probably check if defined.
Corrections on variables names: $trnprt_indx to $transparency and $trnprt_color to $transparent_color;
Problem on Color index range when using imagecolorsforindex. Added palletsize compare with $transparency value.
…ent is the compression level from 0 (no compression) to 9
Quality argument is not the same for every image* function
Conflicts:
	smart_resize_image.function.php
Conflicts:
	smart_resize_image.function.php
Conflicts:
	smart_resize_image.function.php
Conflicts:
	smart_resize_image.function.php
Conflicts:
	smart_resize_image.function.php
merged everything made by the others
Just added $ before the resizedFile variable in the code snippet
Added ability to pass image as a string.
Ability to pass image as a string
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.