I will let the user upload the pictures (images) in different shapes.
Now is it possible to show it in squared picture? after upload.

could you show me some sample script for this.

Thanks in advance.