• Resolved adamp29

    (@adamp29)


    My problem was that images were not showing ALL OVER my site – only in certain places. I am using the Humble theme from themeforest.net and images that I was calling for within the page code (the code you type into the ‘Add New Page’ in the Admin) were not working.

    I have now FIXED this timthumb problem. My setup is using MULTISITE which means that timthumb requires more information than your code suggests.

    – My timthumb file sites in /wp-content/themes/humble/timthumb.php.
    – I have images in /wp-content/uploads/2012/3/image.php
    – I have images in /wp-content/blogs.dir/2/files/image.php (the blogs.dir/2/ indicates my multisite)

    My timthumb.php will only reference images that are within the SAME folder or BELOW it i.e. the images should be in /wp-content/themes/humble/images/image.php

    However – Multisite requires my images to be in a different (higher up) folder.

    So in the Humble code, I have literally added the ENTIRE thread to the MULTISITE images i.e. http://www.futurestateofdigital.co.uk/wp-content/blogs.dir/2/files/image.php

    This way timthumb will start its referencing from http and follow the full path.

    QUICK SUMMARY:
    Test the image path in the address bar i.e. http://static.bbc.co.uk/frameworks/barlesque/1.40.3/desktop/3.5/img/blq-blocks_grey_alpha.png
    If it works, then do NOT use this image path
    Work out the FULL image path on your server including all fodlers and sub-folders.
    Use http:// + the FULL image path you know works.

The topic ‘Multisite and Timthumb FIX’ is closed to new replies.