Uploading One File Two Different Ways

See all posts See thread Reply

Re: Uploading One File Two Different Ways new!
by Erik Greif, 10 years, 5 months ago
It seems as if image_ratio, image_x, and image_y can achieve an image under a given width and height... am I right?
Just reading the documentation. Very unusual behavior for me.Reply
Re: Uploading One File Two Different Ways new!
by colin, 10 years, 5 months ago
I am not too sure I understand what you mean by "achieve".

image_ratio_xxx, image_x and image_y are used to resize an image.

Note that when you instantiate the class, you can read the images data with image_src_x, image_src_y and image_src_pixels and act accordingly.Reply