Auto Post Thumbnails Code in theme?

Discussion in 'Blogging' started by Jalpari, May 16, 2009.

  1. #1
    In this theme, how post image get as thumbnails automatically. Which code do i need to write in my theme so my posts can get auto thumb img without setting in custom fields.

    wp-max
     
    Jalpari, May 16, 2009 IP
  2. ~kev~

    ~kev~ Well-Known Member

    Messages:
    2,866
    Likes Received:
    194
    Best Answers:
    0
    Trophy Points:
    110
    #2
    In the what you see is what you get editor (WYSIWYG), click the insert image button, upload, select the image you want to upload. After the image is uploaded a new window will open showing the picture options, click thumbnail.

    Or, you could use windows image resizer to resize the image to a thumbnail before you upload it. Windows image resizer is free and is part of the powertoys collection. Here is the site to where you can download the plugin from microsoft - microsoft.com/windowsxp/Downloads/powertoys/Xppowertoys.mspx

    Image resizer is in the right hand column. After its installed, right click the image you want to resize, go to "resize pictures", click "advanced" and enter the custom size you want the thumbnail to be.

    Those are my 2 solutions - use the built in worpress resizer, or microsoft powertoys image resizer.
     
    ~kev~, May 16, 2009 IP
  3. Jalpari

    Jalpari Notable Member

    Messages:
    5,640
    Likes Received:
    137
    Best Answers:
    0
    Trophy Points:
    260
    #3
    You provide good answer but u r not getting me i am talking about a script which embed in theme files / function file. ;)

    THANKS
     
    Jalpari, May 16, 2009 IP