Generating Thumbnails For WordPress Magazine Style Themes

I had earlier posted some tips to automatically generate thumbnails for magazine styled themes. I was working on the Gazzete Theme from Woothemes which needed some changes to be done. Woothemes has the image resizer option but I had some other modifications done so I could not use that.

The best thing to depend is the phpthumb plugin for wordpress. Once you have this plugin activated, you can use the thumbnail generation plugin to create thumbnails for your blog with the needed sizes.

What I have done is to get the image URL from the blog post. We can use different function to get the attached images from a post, but I was using the Autoblogging tool for doing the posts and images were from different other websites. So what I do is scan the post for image URL using this function

Once I get the image URL, I can display the image by generating a thumbnail image on my server.

The getphpthumburl function is from the phpthumb plugin which can be used anywhere on your blog template.

If you know any hack, please feel free to shout.

A part time blogger, WordPress Developer and the Author of this blog.

Leave a Reply

Follow

Get every new post delivered to your Inbox

Join other followers: