Written in response to How do I disable timthumb image resizing in :
i forgot to add my solution :
in index.php and category.php idded this :
list($im_width, $im_height, $im_type, $im_attr) = @getimagesize($_SERVER['DOCUMENT_ROOT'] . $image_url);
$ratio = $im_height / $kin_gallery_height > 0 ? $im_height / $kin_gallery_height : 1;
$kin_gallery_width = round( $im_width / $ratio );
$kin_gallery_width_total = $kin_gallery_width_total + $kin_gallery_width;
before
$small_image_url = get_bloginfo( 'stylesheet_directory' ).'/timthumb.php?src='.$image_url.'&h='.$kin_gallery_height.'&w='.$kin_gallery_width.'&zc=1';
i also move the hidden field named "gallery_width" in the bottom the the lopp and change the value in $kin_gallery_width_total
then in the js/custom.js i did this :
// var photoItems = $('#content_wrapper .inner .card').length;
// var photoWidth = parseInt($('#gallery_width').val())+20;
// var scrollArea = photoWidth * photoItems;
var photoWidth = parseInt($('#gallery_width').val())+20;
var scrollArea = photoWidth;
var scrollWidth = $('#wrapper').width() - 235;
link
Written in response to Home page post category:
$5 was low, and now, you split the price !
Damn, if you create a $5 question, the winner wins $5.
If you want to thank another person, add $5 !
$3, i'll buy a soda thank you . . .
link
Written in response to Nonprofit Tarski and etc help:
Jobs are under work, we will change the theme, personalize it, etc So i can not really post my "solution", vote have been done because until monday the question will fall. see you soon mates.
link
Written in response to something Lawrence Krubner wrote.
i do not receive email from javascriptquestions, issue ?
offtopic : can you do something for this : http://www.wpquestions.com/user/discourseShow/id/4232/discourse_id/547 the author can not vote for me, same for experts. ty
link
Gabriel Reguly
had responses to this.