My feature images are showing up twice on the preview page

I think you given like echo the_post_thumbnail($post_id); No need of giving echo if we are using the_post_thumbnail().It by default echoing the result.So here, it will display the image twice. If we use get_the_post_thumbnail(), then echo is needed. So use either echo get_the_post_thumbnail(); or the_post_thumbnail(); Try this..

Images are not shown

It seems that there is problem with your image thumbnail. May be it doesn’t exists. You can fix this by instaling Regenerate thumbnails plugin. Then generate thumbnails for all media files. Another way is to include image in post or page with full url. You can do this by selecting image size to “Full Size” … Read more

Gallery with shortcode not showing

While gallery shortcode does have id arguments, it won’t do what you think. If that argument is present WP will try to look for child attachments of that post, using get_children(). It won’t take content of the post and shortcodes in it into account. If the gallery is only content of that page you could … Read more

For what does WP generate Thumbnails?

Unless you have embedded images at the medium size into posts or pages, then WP will not use these images sizes as far as I am aware in any place in the admin. I think it should be safe to delete the medium size images completely. Also, I am happy you are using FooGallery – … Read more

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