R Rockstar Active Member 507 2008 51 0 Sep 27, 2011 #1 Well i just need to know how can i edit custom field image size according to my requirement. Whenever i use custom field to create thumbnails, images gets cropped to 580x80 size. So any help here?
Well i just need to know how can i edit custom field image size according to my requirement. Whenever i use custom field to create thumbnails, images gets cropped to 580x80 size. So any help here?
S Sonic Active Member 882 2011 470 0 Sep 27, 2011 #2 General: img { max-width: 580px; height: auto; } By class: .thumbnails { max-width: 120px; height: 120px; /* You can set it auto */ padding: 10px; /* to add 10px space on top, right, bottom, left */ } usage: <img class="thumbnails" src="myphoto.jpg"> Last edited: Sep 27, 2011
General: img { max-width: 580px; height: auto; } By class: .thumbnails { max-width: 120px; height: 120px; /* You can set it auto */ padding: 10px; /* to add 10px space on top, right, bottom, left */ } usage: <img class="thumbnails" src="myphoto.jpg">