Auto Resized Images Not Working in BizzThemes?

July 12th, 2009

This post is dedicated to all frustrated users of WP themes, that have issues with TimThumb auto image resizing script, created by Darren Hoyt. As you’re probably aware almost all BizzArtic themes use this script to re-size images to specified size so this issue is very important to me … thus I’ve decided to post a tutorial for using thumb script correctly and short troubleshooting guide for most common issues:

Guide to using auto re-sized thumbnails

Click upload button when adding/editing post or page

Click upload button when adding/editing post or page

Select images to upload

Select images to upload

Copy full url path to image located on your server

Copy full URL path to image located on your server

Paste full url path to image in custom field provided

Paste full URL path to image in custom field provided

Create 'image' custom field and paste full url path to image

Add 'image' custom field & paste full image URL path

Troubleshooting

  • If you’re a HostGator customer, read this!

Contact Hostgator support and ask the to do the following:

Please add following rules [ 1234234,340151 ] to mod_security for yourwebsite.com
Please whitelist for the domain.

However double check that Hostgator have done both permission changes. They might do the first one (1234234) but the problem will still exist, ask them again for both (1234234, 340151) and it will work.

  • Chmod ‘cache’ folder in theme files via FTP

Change permission settings to 755 or 777 –View this tutorial to learn more.

  • Upload image to to your blog

Images uploaded on other CDNs won’t work due to copyright restrictions of auto resizing script so don’t try to just upload path to images hosted on services like Flickr or Photobucket.

If you get the following error: “GD Library Error: imagecreatetruecolor does not exist” contact your hosting provider and ask them to activate GD library for you.

  • Make sure you have the latest thumb.php script

Open thumb.php file located in your theme folder. Open it with your favourite code editor and replace the whole code with one located here: http://code.google.com/p/timthumb/source/browse/trunk/timthumb.php.

  • Image must be hosted under your blogs domain

Path to your auto-resized image must include your domain, IP address won’t work.

Still having troubles?

Comment below, I’m sure we can find the right solution for you …

Related Posts (auto generated)

72 Responses to “Auto Resized Images Not Working in BizzThemes?”

  1. Dumitru Brînzan

    14 years ago

    Just this weekend I had a very disgruntled customer because of TimThumb not working… after some googling I have found that HostGator indeed has this issue with their mod_security.

    This tutorial would have saved me a lot of time and explanations 🙂

    P.S. There are hosting providers that don’t allow .php scripts to have the 777 file permissions, as well as the directories in which they reside. That is also a problem sometimes 🙂

    Reply to this comment
  2. Pateador

    14 years ago

    Excuse me, can i do that with a free bizztheme template? Thax

    Reply to this comment
  3. Just Seth

    14 years ago

    im a JustHost customer. iv tried what you said above and its still not working. all i keep getting are question marks and the boxes change formation and size, can you please help me

    Reply to this comment
  4. Justin

    14 years ago

    So I just moved my wp-content to an S3 bucket that’s being virtually hosted at the same domain and now my images wont work with the thumb script. Any thoughts or suggestions?

    Reply to this comment
    • Željan Topić

      14 years ago

      Don’t know why, but images must be uploaded to your blog via WP upload to work, … strange issue but TimThumb author made it work this way.

      Reply to this comment
  5. Matt

    14 years ago

    I’m also on JustHost. I tried altering public_html permissions to 777, it caused the site to go invalid. Server error. Putting them back to 755 restored it to functionality.

    The images work great within my post, but on the home page I get technicolor stripes. Anybody figure out how to fix this. I love the theme but I’m gonna drop it soon if this mess isn’t sorted out.

    Thanks.

    Here is the site so you can see what I’m talking about. http://flashingtears.com

    Reply to this comment
    • Željan Topić

      14 years ago

      Matt, stripes appear because you don’t have any issues with script but you need to follow the tutorial:

      1. Upload image to your blog
      2. Paste full URL path to image in custom field provided

      Reply to this comment
      • Matt

        14 years ago

        Ok. The problem was that I wasn’t including “www” in the link address. Whatever, ok.

        Now I’m getting the same issues the other people were having. The resize is poor and the “link” is only a box with a ? mark.

        Hmmmm

        Reply to this comment
        • Željan Topić

          14 years ago

          No hard feelings, I always give my best to help my readers,…if you have any better solution in mind, please share,…I was thinking about adding image upload to post settings so no copy/paste of image path would be needed.

          Reply to this comment
          • Shrikant

            14 years ago

            My custom (TimThumb) field is named ‘thumb’ instead of ‘image’ – is there anywhere I can change the theme settings to looks for images accordingly?

            I’ll have manually add custom fields to all blog-posts, otherwise – which does not make me too happy!! 🙁

            HELP!

          • Željan Topić

            14 years ago

            It really depends on theme you use,…where auto-resized images are displayed look for this code: if ( get_post_meta($post->ID,'image', true) ) and change image into thumb.

  6. Matt

    14 years ago

    Ya, I tried that, but something is wrong with the input box. It spans the width of the page, and won’t save the image address. I figured that was the problem. Any idea on how to fix that?

    I’ll keep screwing around with it. Thanks for the quick reply.

    Reply to this comment
    • ptamzz

      14 years ago

      I dont know about the width… but i faced the same problem of the image link disappearing from the custom image field.
      I found out that I had one existing Custom field with the name ‘Image’. So i removed it and it got fixed.

      Reply to this comment
  7. Tony

    14 years ago

    Hi,

    (Theme activated and Default theme options saved – WP 2.8)
    I cannot see any Custom field when I add or edit a Post..
    Any suggestions?

    Reply to this comment
  8. Pateador

    14 years ago

    It’s working great!!!! Thank u!!!!

    Reply to this comment
  9. Samantha

    14 years ago

    Okay, I cannot get my featured images to show up, no matter what I do.

    The permission on my cache file is 777.
    I uploaded the image as directed, putting the correct path (to my uploads folder) to the image as a link URL for the image, in custom image location, and the custom image field as directed.
    When I look at this address, the image is definitely there.

    But my image won’t show up in the featured section of my home page, only the post’s title and category. What am I missing? I’m using WP 2.8.3, if that matters. I haven’t added any plugins or anything yet.
    My site is http://www.aworldexplored.com if you want to take a look. I’ve only added one post until I’ve sorted this new theme out. Help! And thanks!

    Reply to this comment
  10. Jay

    14 years ago

    Having same issue, however, I do not have the custom image location as you noted in the help above. http://bizzartic.com/wp-content/uploads/2009/07/upload4a.png

    I followed your instructions exactly. I’m running WP 2.8.4

    Reply to this comment
  11. Jay

    14 years ago

    Strangely, it works in Inuit, but does not work in Rask for me.

    Reply to this comment
  12. Dean Soto

    14 years ago

    Did everything in the instructions and still no luck. I have Bluehost, and according to them they do not use mod_security. I typed in the full address in custom field, updated the TimThumb code, and changed permissions to the cache folder. My website is http://www.prosulum.com. I really want to use your theme. It is awesome.

    Reply to this comment
  13. Dean Soto

    14 years ago

    Nevermind! Your these rocks. It was because the image that I was using was too large. Thanks!!!

    Reply to this comment
  14. Netbloke

    14 years ago

    I am working on a site and used your suggestions with no luck. the file is there but it is not finding it. could it be because the domain is not pointed at it yet?

    URL is
    http://63.249.18.115/~becu/

    Image is here:
    http://63.249.18.115/~becu/wp-content/uploads/savethedate.jpg

    Reply to this comment
  15. rop

    14 years ago

    Thank you for providing this tutorial. I got the image resizing to work fine. I deactivate all my plugins. Completely remove the theme and reinstalled it. However the Carousel does not work…. I still have all my plugins deactivated. Do you know what could be the problem? Thank you in advance for all the help.
    Here is my URL: http://akibavault/theImmag/

    Reply to this comment
  16. albert

    14 years ago

    can i change the box of “iso therm news” with my own image? how? thank u

    Reply to this comment
  17. Jaylyn Bergner

    14 years ago

    Hey there,
    I’m having the same problems as Dean. I’ve had my coder go through it, and we still can’t figure it out. I’m also with Blue Host. I’m not allowed to change any permissions for the cache…in that there is no option to. I’ll deactivate everything and try uploading again. I’d love to use this theme because it’s my favorite so far. 🙂 But, obviously, I need it to work for me and we have no idea what’s wrong with it. Thanks much!

    Reply to this comment
  18. Cristopher Boyer

    14 years ago

    I was having issues with the images, until I added the custom field manually. Something’s wrong with the Custom Location box, it does not retain any URLs that are put in when I save the post. Not sure what’s up with that, but when I add the custom field by myself, that works.

    Reply to this comment
  19. Nikhil Pai

    14 years ago

    I have got the images working on my site now. However if my original images are rectangle, the script crops off the edges of the image with a result that the thumbnail looks a cut down from the sides version of the original image. Any solution?

    Reply to this comment
  20. A_Fotografy

    14 years ago

    Ok I must be dumb. I’m new to this coding, and working on my blog now. Theme is great love layout and all rest of it, but can’t figure out how to add this thumbnail on home page for single column.
    went trough tutorial, but can’t figure out where is this custom field for pasting url.
    Sorry, but I have very little knowledge of this.
    Thanks

    Reply to this comment
  21. A_Fotografy

    14 years ago

    sorry, shame on me, found it. sorrry

    Reply to this comment
  22. A_Fotografy

    14 years ago

    Hello again,
    Looks like it’s not working had a look around to get more info. Just came across this sitehttp://www.darrenhoyt.com/2008/04/02/timthumb-php-script-released/
    and they are talking about this script

    where do I enter that?
    Had a look on their forum, but no luck.
    Thanks

    Reply to this comment
  23. lumansupra

    14 years ago

    I still don’t get auto resize.
    when I right-click and view image of the empty frame
    this message is showed up

    “The image “http://www.lumansupra.com/wp-content/themes/isotheregm/thumb.php?src… and so on” cannot be displayed, because it contain errors.

    and, I have done about copying full url image including http, and adding custom fields. but no show… I wish I made mistakes… hehehe
    thanks…

    Reply to this comment
  24. kenwooi

    14 years ago

    im currently testing out this template. great one actually..
    initially, i added an image URL that is not hosted in my blog’s server..
    it’s an image i look from google..
    I added the image URL to custom field and settings, but it doesnt work!

    but then when i uploaded the image to my server, it works!

    so, MUST the image be uploaded IN the blog’s server?
    can’t it work with external image URL?

    Reply to this comment
  25. mulnim

    14 years ago

    i want to build a comment page. but i use the commom way it didn;t work….can you teach me how to build a comment page….tnx

    Reply to this comment
  26. Marek

    14 years ago

    Many thanks to share this solution. Most helpful was comment by Andrew MacPherson about removing the domain from image URL.

    Great job!

    Regards from Poland

    Reply to this comment
  27. Joe

    14 years ago

    Hey,

    One question:
    In your tutorial you have posted two different URLs in the custom fields.. Is this correct?

    Reply to this comment
  28. James

    14 years ago

    I’m going crazy here trying to solve this problem.
    Instead of a nice picture I’m getting this horrible code in all six fields.

    Andrew Wendt & Nick Wendt Journalism Portfolio Andrew Wendt & Nick Wendt

    Please help, I’ve tried everything you have suggested. I’ve updated my tumb.php and followed all the procedures step by step.

    Regards, James

    Reply to this comment
  29. Achi Dente

    14 years ago

    Hi,

    May be the wrong place, but can you tell me if I can get more than 4 posts for the “Rest of Entries” section when I have the featured post active?

    Right now, I have my featured posts (which includes 6 posts) at the top, looks sweet — but below that, I only have 4 additional posts (for a total of 10 on the front page.

    Can I have 8 additional posts instead of 4 under my featured posts?

    Reply to this comment
  30. tchago

    14 years ago

    Hi Željan. Congrats for your themes, they’re awesome!
    I’m having a hard time with one of your themes. I was using InuiTypes, wich is awesome, but now that I’ve got the Berita, I don’t have the Custom Image field anymore. In the Support Guide you say “When you are creating a post you have option called Berita Featured Image Settings”. Is not there. What should I do?

    Sorry for posting this under another theme post, but there was no reply on Berita’s page.

    Thanks in advance

    Reply to this comment
  31. randi

    14 years ago

    any more suggestions. I tried everything in your instructions over and over again. images don’t show.

    Reply to this comment
  32. Rüdi

    13 years ago

    Had the same problems.
    I Changed permission of the cache folder settings from 755 or 777 –
    It works.
    Changed it back to 755 – it works too!!!!!!!!

    Confused …

    Reply to this comment
  33. Ariel

    13 years ago

    How can i get rid of the auto-thumbnail thingy from the theme? I want to add it manually…

    Reply to this comment
  34. Cambrey

    13 years ago

    Hey,

    I used the Inuit Types theme on wordpress.com to much success. However, I’m using it on a self-hosted site and I can’t figure out how to get the “featured image” feature to work. There’re isn’t even a box for for me to select a featured image/thumbnail when I’m writing a post.

    The is the old site: http://girlsaboutdtown.com

    This is the new site: http://0307438.netsolhost.com/dgirls/

    How can I get the featured image feature to work? I’ve tried the cache and I’ve also tried the security settings.

    Thank you in advance!

    Reply to this comment
  35. Anwar

    13 years ago

    hi

    in my site featured image,news stream image,are working.but bizz widget placed in body is not working ….i beg your kind help..could u please have look on my site..
    http://www.hairsmystory.com/

    it will be a great for me if i can use ur theme with all features..

    thanks

    Reply to this comment
  36. Stacy

    13 years ago

    Sry, I should have posted this question here instead of the main blog. I’m pulling feeds from external sites (using feedwordpress plugin) to show on my blog ( which pics work fine on other themes) and I am seeing question marks for my thumbnails. Thumbs only show if manually uploaded (custom field was not needed, I only have Isotherm seo and my own custom field section in my backend btw , no step 4a). However, a picture (not thumb) from the feed shows on single page post. Everything under image setup is checked. I read on here that pics with external links aren’t accepted, but not sure that is related. Please help me understand “chmod your cache folder”, “define(‘FS_CHMOD_FILE’, 0755)” , or “changing theme’s permission to 777”. I’m new to wp and php. How can I get syndicated posts with their own pics to generate thumbs? If it can pull these pictures for a post , why not for a thumb?

    wp 3.0.1 mu

    Reply to this comment
  37. Pat

    13 years ago

    Just curious what the “video” field is for on this theme. I can’t seem to have video’s appear when I fill it in!

    Please help!

    Thanks,
    Pat

    Reply to this comment
  38. Lenzy

    12 years ago

    Hello, I installed this theme and my thumbnails are not displayed, and why don’t I have this : http://bizzartic.com/wp-content/uploads/2009/07/upload4b.png ?

    Pleaase help.
    Thanks

    Reply to this comment
  39. Lenzy

    12 years ago

    Well now I do have http://bizzartic.com/wp-content/uploads/2009/07/upload4b.png
    But it still dosen’t work :/

    Reply to this comment
  40. Waqar

    12 years ago

    Hi Željan !

    The theme is superb. I install it for my web and do as you directed to upload the images, that time it was working but on next day it didn’t work, than I change the permissions too but its still not working. Could you please help me?

    Reply to this comment
  41. magz

    12 years ago

    their is no custom field in my themes… why? how to set up customer field? thanks..

    i use puremagazine theme

    Reply to this comment
  42. Lari Salminen

    12 years ago

    Hi!
    First of all, thanks for a great theme.
    I have a problem though.
    I want to change my theme, and at the moment I have more than 800 posts, and I try to setup this theme locally on my cpu. But when I later on will move it all to my real domain, I will have to add all images again.
    Isn’t there a better way to do it?

    Reply to this comment
  43. Eldar

    11 years ago

    Hello Željan Topić
    I have also problem with my site “with your template”.
    I open now file in my host called it thumb.php and paste php code. Also in same folder I add new file with name “cache.php” and changed permision to 777. But does not work. Please help me.
    Thank you

    Reply to this comment

Trackbacks/Pingbacks

  1. Pure Magazine | PureMagazine | Temi Gratis Wordpress

Leave a Reply to mulnim