Original image not saving?

The default image sizes of WordPress are “thumbnail”, “medium”, “large” and “full” (the size of the image you uploaded). These image sizes can be configured in the WordPress Administration Media panel under Settings > Media. This is how you can use these default sizes with the_post_thumbnail(): the_post_thumbnail(); // without parameter -> ‘post-thumbnail’ the_post_thumbnail( ‘thumbnail’ ); … Read more

Uploaded images not displaying in network site

Looks like I needed <rule name=”WordPress Rule 1″ stopProcessing=”true”> <match url=”^index\.php$” ignoreCase=”false” /> <action type=”None” /> </rule> <rule name=”WordPress Rule 2″ stopProcessing=”true”> <match url=”^([_0-9a-zA-Z-]+/)?files/(.+)” ignoreCase=”false” /> <action type=”Rewrite” url=”wp-includes/ms-files.php?file={R:2}” appendQueryString=”false” /> </rule> Also here’s a bit more information I was able to find. http://wordpress.org/support/topic/images-files-not-displaying

Media Library, hook on delete user action

A more appropriate hook may be delete_attachment($post_id). You may also need to hook edit_attachment. Note that the post_id is that of the attachment type post, not the page/blog post to which the media is attached (if any). In case you want to know when media is added, hook add_attachment($post_id). Note that add_attachment is called before … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)