How to limit sizes for specific upload programmatically?
How to limit sizes for specific upload programmatically?
How to limit sizes for specific upload programmatically?
Set a minimum and maximum limit of images to select in the MediaUpload component for Block
Automatically add tag (first 4 characters) to uploaded media
I see what you’re talking about. Looks like the images are being generated by the timthumb script and that slug references a cached image identifier. Without seeing the plugin or script thats generating those images, its hard to say how to fix it. On first view of an image, the image path looks like http://tambnguyen.com/wp-content/themes/13Floor/timthumb.php?src=thumbs/Linus_Lundin.jpg&h=136&w=136&zc=1 … Read more
look at your javascript in the header for the thumb info: script> var thumbfile = “http://bricksandwindows.build12.com”; also repeated on line 179 when viewing source
Then you should use custom fields, attachments are for something to attach from your media library. Custom fields on the other hand can be anything you want. http://codex.wordpress.org/Custom_Fields For a plugin I recommend , http://wordpress.org/extend/plugins/custom-field-template/
I think you are looking for wp_get_attachment_image_src instead of wp_get_attachment_src which is not a core WordPress function
“localhost” normally points to the webserver on the machine the request is made from. You installed wordpress on your server to run under “localhost”. So if you open a browser whilst on the server and go to “localhost” it will look for the site on the server and find it. However, if you open a … Read more
I think the easiest way would be doing this with jQuery: http://jsfiddle.net/pFyPz/
Ad 1) Take a look at wp_upload_dir. Ad 2) Try remove_theme_support( ‘post-thumbnails’ );