We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

IMGSIZER and MSM - member photos

Development and Programming

Dan Lovejoy's avatar
Dan Lovejoy
115 posts
17 years ago
Dan Lovejoy's avatar Dan Lovejoy

I am using imgsizer to dynamically resize AUTHOR photos on display - not a dealbreaker if this doesn’t work because there aren’t that many different photo sizes. But I’d sure like to be able to figure this out.

On my original site, this is the code:

{if photo_url}
{exp:imgsizer:size src="{photo_url}" width="85" alt="{screen_name}" id="{member_id}" class="left"}
{/if}

It works like a champ.However, on the second site, it does not work at all. You might expect this, since author info is not site specific. However, we have gone into the server settings and made it so that calls to the author photo directory on site 2 resolve to the same directory on site 1.

Like this: http://www.site2.com/images/member_photos/ resolves to: http://www.site1.com/images/member_photos/

So now, all actions performed by site2 should affect the site1 /images/member_photos/cache directory. However, nothing is being written to the cache directory and nothing is being read. I’ve turned on template debugging, but don’t see any obvious errors. It just says that imgsizer has returned data.

Moved by Moderator

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.