Show post thumbnail only if it exists using timthumb

As commented above, you don’t have to use TimThumb at all to get additional image sizes for your uploaded images. WordPress ships with the add_image_size() function. // functions.php add_action(‘init’, ‘wpse26655_add_additional_image_sizes’); function wpse26655_add_additional_image_sizes() { add_image_size(‘thumb200x120’, 200, 120, true); } In your template files, you could than query your thumbnail with your desired image size. E.g. <?php … Read more

Post rating using Custom Field

First off, you should consider using using the building WordPress functionality rather than linking straight to a PHP file. Anyone could game that very easily and artificially vote up posts. To use the wordpress ajax functionality, send your ajax request to yoursite.com/wp-admin/admin-ajax.php, and use standard plugin hooks system. Tollmanz’s response is right on: your update … Read more

next gen gallery thumbnail problem

since the site has a white background, a quick workaround could be to save the pngs as jpeg with white background? this thread mentions a possible solution: wordpress dot org/support/topic/plugin-nextgen-gallery-problems-with-png-transparency-thumbnails?replies=9 this has an unpdated solution: wordpress dot org/support/topic/plugin-nextgen-gallery-png-thumbnails-with-transparancy-problem-1?replies=5 and this thread suggests saving as 24bit png’s rather than 8bit wordpress dot org/support/topic/nextgen-gallery-transparent-images-showing-black-background-with-resize?replies=8#post-1921440 ps cant post … Read more