Defining the paths to an off-root SLIR directory, and the source image.

111 views
Skip to first unread message

gjones

unread,
Apr 17, 2012, 12:05:39 PM4/17/12
to Smart Lencioni Image Resizer

I'm having difficulty defining the paths to an off-root SLIR
directory, and the source image.

Page calling image:

/usr/home/user/public_html/app/ap1/myPage.php

SLIR dir:

/usr/home/user/public_html/mob/courtesy/slirDir/

Image:

/usr/home/user/public_html/mob/courtesy/images/myImage.jpg


What then are the paths I need - for SLIR, and for the source image?

<img src="/WHAT-IS-THE-PATH-TO/slirDir/?
w=100&amp;h=100&amp;c=1:1&amp;i=/WHAT-IS-THE-PATH-TO/myImage.jpg" />

regards,

GJ

.

Joe Lencioni

unread,
Apr 18, 2012, 10:54:46 AM4/18/12
to smart-lencioni...@googlegroups.com
I think you want something like this:

/mob/courtesy/slirDir/?w=100&amp;h=100&amp;c=1.1&amp;i=/mob/courtesy/images/myImage.jpg

But, that depends on what your document root is getting set to. I assume it would get set to /usr/home/user/public_html/ in your case.

I hope that helps!
Reply all
Reply to author
Forward
0 new messages