Previous Thread
Next Thread
Print Thread
Hop To
#237989 07/17/2010 4:29 PM
Joined: Dec 2008
Posts: 42
Likes: 3
Newbie
OP Offline
Newbie
Joined: Dec 2008
Posts: 42
Likes: 3
In version 8, will there be an image resize function for File Manager uploaded images using ImageMagick or GD?
That would be very helpful.

I limit the display of images to 640px wide in the forum for 3rd party hosted images using the 'img' tag. But on my Portal page, that limitation doesn't work. So excessively wide images force side scrolling and the right column is out of view for many users.
Will version 8 include portal image display control?

Thanks!

Joined: Jun 2006
Posts: 9,242
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,242
Yes, we have it in place for avatars already, and we'll be working on getting this in for images as well (definitely for uploaded images), will be working out the best way to handle external ones.

Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
to fix the portal, just edit 1 line of 1 file: templates/portal.tpl

find:

<td class="alt-1">

change to:

<td class="alt-1 post_inner">

images will adhere to your 640px limit now smile

i've mentioned this bug before

Joined: Jun 2006
Posts: 9,242
Former Developer
Offline
Former Developer
Joined: Jun 2006
Posts: 9,242
Originally Posted by Sirdude
i've mentioned this bug before

You forgot to staple it to my forehead.

Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
i'm out of staples! laugh

Joined: Dec 2003
Posts: 6,208
Likes: 31
Online Yawn
Joined: Dec 2003
Posts: 6,208
Likes: 31
Puncture wounds start to appear on Rick's forehead. He He He.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Dec 2008
Posts: 42
Likes: 3
Newbie
OP Offline
Newbie
Joined: Dec 2008
Posts: 42
Likes: 3
Thanks so much, Rick and Sirdude!

Glad the resize is in the works. We have over 8000 images uploaded with File Manager this past year. But lots of users can't seem to figure out how to resize before upload. We could accomodate even more with ImageMagick help.

Sirdude, that template change did it! Big images no longer widen the Portal to hide the right column. Nice! Happy now. smile

Joined: Feb 2007
Posts: 1,287
Likes: 1
Veteran
Offline
Veteran
Joined: Feb 2007
Posts: 1,287
Likes: 1
Also the image size setting on the avatars does not carry over to the featured user island in version 7.

Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
yeppers, agreed on the avvy's

i just add a css class to common.css called 'avvy' with max-width, max-height to take care of that for now

2c

Joined: Feb 2007
Posts: 1,287
Likes: 1
Veteran
Offline
Veteran
Joined: Feb 2007
Posts: 1,287
Likes: 1
Thanks

Joined: Apr 2007
Posts: 3,940
SD Offline
Former Developer
Offline
Former Developer
Joined: Apr 2007
Posts: 3,940
[Linked Image from d51s.com]


Link Copied to Clipboard
ShoutChat Box
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Like unlike bug?
by Morgan - 09/24/2020 5:03 PM
looking to renew :)
by Mors - 09/23/2020 7:52 PM
test
by Mors - 09/23/2020 7:51 PM
What triggers page view numbers
by Morgan - 09/21/2020 10:31 AM
Forum Permissions Question
by FREAK - 09/20/2020 2:13 PM
Who's Online Now
6 members (Morgan, Gizmo, Ruben, wikitect, rayc, 1 invisible), 64 guests, and 45 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5
(Snapshot build 20200925)