Which one of the following is true about the following line – $obj = new ImageHandler(‘/images/’, array(400, 300));
A. This snippet sets the maximum dimensions allowed to 400 pixels wide by 300 pixels high.
B. This snippet sets the minimum dimensions allowed to 300 pixels wide by 400 pixels high.
C. This snippet sets the minimum dimensions allowed to 400 pixels wide by 300 pixels high.
D. This snippet sets the maximum dimensions allowed to 300 pixels wide by 400 pixels high.
Answer:A
Which one of the following is true about the following line – $obj = new ImageHandler(‘/images/’, array(400, 300));
A. This snippet sets the maximum dimensions allowed to 400 pixels wide by 300 pixels high. B. This snippet sets the minimum dimensions allowed to 300 pixels wide by 400 pixels high. C. This snippet sets the minimum dimensions allowed to 400 pixels wide by 300 pixels high. D. This snippet sets the maximum dimensions allowed to 300 pixels wide by 400 pixels high.
Explanation: If you needed to change the size of your images, you can change the dimensions using the above instantiation of ImageHandler