Jump to content

shrink photo with background?


Alicia

Recommended Posts

Hi,

 

Can somebody give me an idea how can I set a background color for an uploaded photo after I shrink it with gdlibrary or any working method so it can fit nicely into a column with the same dimension as other photos no matter what is the dimension of the original photo?

 

Attached file is the sample output I want to generate. What I can do now is only shrink the width and height but not the white background and the border as the attached image. Please advise. THank you.

 

[attachment deleted by admin]

Link to comment
https://forums.phpfreaks.com/topic/208532-shrink-photo-with-background/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.