Previous Thread
Next Thread
Print Thread
Hop To
#237989 07/17/2010 4:29 PM
Joined: Dec 2008
Posts: 42
Likes: 3
D
Newbie
Newbie
D Offline
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
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Originally Posted by Sirdude
i've mentioned this bug before

You forgot to staple it to my forehead.

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

Joined: Dec 2003
Posts: 6,560
Likes: 78
Joined: Dec 2003
Posts: 6,560
Likes: 78
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
D
Newbie
Newbie
D Offline
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,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
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
Likes: 1
SD Offline
Former Developer
Former Developer
Joined: Apr 2007
Posts: 3,940
Likes: 1
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,294
Likes: 2
Veteran
Veteran
Joined: Feb 2007
Posts: 1,294
Likes: 2
Thanks

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


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 396 guests, and 110 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)