Why does WP allow to view and media item as a page

It is desirable because you can modify that page, to introduce extra functionality. e.g.: Comments Meta data custom fields titles descriptions Image EXIF showing geolocation data video/audio players thumbnails of other images attached to the post, e.g. the other pictures in the gallery If it troubles you, you can ‘remove’ the feature, by making an … Read more

Store in media library image uploaded from url

I am afraid the upload through url does not uploads the image on your site server but it just inserts it in to the post so it can not appear in the media library. Through a plugin You can use the Grab and save plugin to achieve what you want but i think you don’t … Read more

Getting Different Size Of Attachment Images

Since you have defined the featured image for each post with using <?php the_post_thumbnail( ‘custombig’ ); // or another custom size name ?> should be enough, for info you can read: http://justintadlock.com/archives/2009/11/16/everything-you-need-to-know-about-wordpress-2-9s-post-image-feature http://markjaquith.wordpress.com/2009/12/23/new-in-wordpress-2-9-post-thumbnail-images/ Or here there is good info too: How wordpress handle upload images and how to use them in the code

Two “the_excerpt” questions

You need to hook into two WordPress filters. function custom_excerpt_length( $length ) { return 20; } add_filter( ‘excerpt_length’, ‘custom_excerpt_length’, 999 ); http://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_length function custom_excerpt_more( $more ) { return ‘[…..]’; } add_filter( ‘excerpt_more’, ‘custom_excerpt_more’ ); http://codex.wordpress.org/Plugin_API/Filter_Reference/excerpt_more

Change image name during uploading sequentially

The sequencing part will be handled automatically by wordpress. if you want to change the filename, you can do this : function k99_custom_upload_name($filename) { $info = pathinfo($filename); $ext = empty($info[‘extension’]) ? ” : ‘.’ . $info[‘extension’]; $filename=”put your name here”; return $filename; } add_filter(‘sanitize_file_name’, ‘k99_custom_upload_name’, 10); Because wordpress will handle the sequencing , your files … Read more

wp get attachment image always gives me thumbnail

The real workhorses behind wp_get_attachment_image_src are image_downsize & image_get_intermediate_size. Between the two, they’ll attempt to find the largest image available that fits within the constraints of the required size. The return value of wp_get_attachment_image_src will be: Array( [0] => ‘source of image that best fits’, [1] => ‘width of source image’ [2] => ‘height of … Read more