I am creating a cakephp application in which I upload an image. But for some functions of my application, I want to display an image with a certain width n width without sacrificing image quality. So please suggest me to do this.
I suggest you use the plugin and its relatively simple ..
http://www.milesj.me/resources/script/uploader-plugin
it is very easy to implement. it takes care of validation and also attaches it to the model, etc.
Image organization
. 200 * 200, 125 * 125, 50 * 50 - , .
, . , . eaiser, , .
.
http://josediazgonzalez.com/2010/08/16/cakephp-plugins-a-biblical-retelling/
, cakephp
http://cakepackages.com/
,
width height . .
, .
:
$this->Html->image('image1.jpg', array('width'=>'200px'));
Source: https://habr.com/ru/post/1768932/More articles:The task of the sorting algorithm - algorithmДоступ к объектам jquery с селекторами - jquery-selectorsfast transcode gstreamer - javaShuffle the array variables in the given order without using the additional memory "input array size", - c ++IPhone conceptual question: why is Ad Hoc deployment required? - iphoneData structure for string indexes? - c ++linq uniting 2 requests - vb.netОшибка при вызове Dispatcher.dispatch #GPS usage example in AIR - airHow to get sql queries when a trigger starts, up to n levels? - listAll Articles