WebFaction
Community site: login faq

A WP theme, blacklabel, that uses timthumb throws an error: Image WP TimThumb Link

But the image exists: Image WP Link

Tried the WebFaction fix for DOCUMENT ROOT variable: WebFaction Fix

However, trying the same thing with the "real" path works: Image TimThumb Real Path

Any clues?

asked 15 Sep '11, 01:35

Diego
112
accept rate: 0%


Timthumb can only process from certain directories for security, The first link is pulling from ./files/ while the second one is pulling from ./wp-content/. You might want to post your question on the TimThumb forums as they are the active developers and would know more about its internal functions and what would need changing to make it work.

permanent link

answered 15 Sep '11, 01:55

johns
5.4k412
accept rate: 23%

It might also be file permissions, do the 'files' and 'wp-content' directories have the same permissions?

(15 Sep '11, 01:59) johns

files is a fake folder with Apache Rewrite at .htaccess: RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L] File and folder permissions seem ok

(18 Sep '11, 22:53) Diego

TimThumb relies on rewrite rules to work, so it is likely a conflict with that, but it would be best addressed by their developer community.

(18 Sep '11, 23:18) johns
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×245
×2

question asked: 15 Sep '11, 01:35

question was seen: 4,438 times

last updated: 18 Sep '11, 23:18

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM