I have an image placeholder with dimension is [I]100Wx100H
I have an image named “[B]Image1[I]50Wx50W[I]$ImageHolder=$Image1[I]100Wx100H
Now I have another image named “[B]Image2[I]100Wx50W[I]$ImageHolder=$Image2[I]100Wx100H
I use:
$hImage = getimagesize($Image2);
$Width = $hImage[0]; [I]// = 100
$Height = $hImage[1]; [I]// = 50
[B]How do I apply this $Width and $Height to resize the image placeholder?
(This happens at very begining of loading PHP)
Can someone give me a help? Thank you ?