PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro Bug Reports

Photopost Pro Bug Reports Post post installation PhotoPost Pro problems here.

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 1st, 2006, 04:20 AM   #1 (permalink)
Member
 
Join Date: Dec 2003
Location: Paris
Posts: 127
Thumbs up PP5.5 : Avatars too large with IB2 + fix suggestion

When using Invision Board 2 integration, avatar's width and height is not restricted.
It sometimes breaks the comments layout when members are using too large avatars.

Here is what I use on my gallery, the code has been backported from IB2 sources.

In file forums/ib2.php, in function get_profiledata(), around line 166 :
1) We need to fetch avatar's size from database (changes highlighted in red) :
Code:
Content visible to verified customers only.
2) Then, we can use it to set avatar size (changes highlighted in red) :
Code:
Content visible to verified customers only.
flat is offline   Reply With Quote
Old October 1st, 2006, 08:28 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
So your saying IB2 does not restrict avatar sizes like other forums? I dont own it so I cant say which is why I ask. Most forums have an avatar size restriction and resize to this set size
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old October 1st, 2006, 09:01 AM   #3 (permalink)
Member
 
Join Date: Dec 2003
Location: Paris
Posts: 127
Yes, I was very surprised when I discovered that some avatars on my board were not resized as they should be. Here are suppositions :

As other boards, IB2 has a setting to restrict avatars size. New uploaded avatars are correctly resized following this setting.
But what happends if you change this settings after that some avatars were uploaded ? I don't think IB2 will resize thousands existing avatars to adapt it with the new setting.

Another explaination : IB2 allows to use avatars hosted by a distant website. In that case, IB2 has no control over avatar's width/height.

I think these 2 examples can explain why they added a width & height parameter in <img> tag.
flat is offline   Reply With Quote
Old October 10th, 2006, 04:52 PM   #4 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 18
This occurs when a user chooses a remotely hosted avatar, and it's larger than the standard setting.
Chris Marks is offline   Reply With Quote
Old December 9th, 2006, 11:18 PM   #5 (permalink)
Junior Member
Verified Customer
 
Join Date: Jul 2005
Posts: 18
Are there any plans to officially implement this fix? It's still an issue with the latest 5.62 release.

The fix provided by flat continues to work once added (Thanks flat )
Chris Marks is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
PP5.5 : errors with friendly URL, fix suggestion flat Photopost Pro Bug Reports 5 September 30th, 2006 08:42 AM


All times are GMT -5. The time now is 02:12 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0