images not showing

109 views
Skip to first unread message

christopher

unread,
Nov 1, 2011, 3:01:34 PM11/1/11
to Smart Lencioni Image Resizer
I cannot get SLIR to work on my hosting account. The images show an
error stating that image does not exist. For example, here is an
example
http://bikepointtenerife.com/wp-content/themes/El-Medano-Bike-Point/slir/w900-h900/http://bikepointtenerife.com/wp-content/files_mf/1317894758elradical1_jpg.jpg.

I could be completely wrong but even though the path to the image that
is passed to SLIR is correct it seems to be using the the
DOCUMENT_ROOT path. I have this working nicely on my development
server but just cant get it to work on my hosting account. Any help
would be well appreciated. Here is a link to the images that are not
showing http://bikepointtenerife.com/media-gallery

Thanks

Joe Lencioni

unread,
Nov 2, 2011, 11:55:01 AM11/2/11
to smart-lencioni...@googlegroups.com
I'm guessing that the document root isn't being set properly for your site. 

In your slirconfig.class.php file, add this line:

public static $documentRoot = '/path/to/web/root';

But change '/path/to/web/root' to be the path to the files that are served when visiting http://bikepointtenerife.com
Reply all
Reply to author
Forward
0 new messages