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

Gallery - Thumbnail Resizing Preferences

Development and Programming

mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

Hello,

I’m having problems in getting the correct size when uploading images - I’d like to eg. get all my small thumbs either 120x90 (landscape) or 90x120 (portrait) with maintained aspect ratio. I thought that setting the Thumbnail Width x Height parameter to 120x120 would lead to the desired result, but it doesn’t. it seems to me that EE doesn’t check whether there is a portrait or landscape image uploaded.

Is there a quick fix to this issue.

Thank you

Edit: setting var $master_dim = ‘auto’ solves the resizing issue when creating the thumbnail - however, I hope there is a setting somewhere so I don’t have to mess around with the code. Nevertheless, using {thumb_width} and {thumb_height} still shows the wrong dimensions - let’s say, I set 150x150 in the gallery thumbnail parameter - when I have a landscape image, thumb_width show 200 and thumb_height shows 150 instead of 150 and 113 respectively.

Edit: another issue I discovered is the followig - having the following watermark text: “© Copyright 2007” and clicking on the “Test Your Watermark Settings” works fine - However, when creating the thumbnails, the ©ascii doesn’t get converted into the copyright sign like this © - it just shows “& copy;”

       
[ Rrr Pro*]'s avatar
[ Rrr Pro*]
15 posts
17 years ago
[ Rrr Pro*]'s avatar [ Rrr Pro*]

landscape/portrait and aspect ratio smartness would be very nice idd!

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

I think it’s absolutely needed - I had to take out the width and height markup tags in order to use it at all?!

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

am I missing something here or is this a confirmed bug?

       
vibe9's avatar
vibe9
96 posts
17 years ago
vibe9's avatar vibe9

I’m finding the exact same issue as you mmjaeger. Seems like a bug to me, though you’d thinks something as obvious as this would not go so unnoticed?

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

you’re right - seems to be pretty obvious. what also kind of bugs me is that the EE team not even takes notice of this post - at least not yet; I have been using modx so far and I always appreciated the excellent support I was getting there although it “only” an Open Source project - at the moment, I feel kind of disappointed about the support I’m getting here for a piece of code that I had to by a licence - I’m afraid I will move back to modx soon - feels like I have wasted some money here!

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

There is a setting in the config file that you have to set manually to maintain aspect ratio. Let me see if I can find the thread.

       
mmjaeger's avatar
mmjaeger
78 posts
17 years ago
mmjaeger's avatar mmjaeger

please see this in my first post: setting var $master_dim = ‘auto’ solves the resizing issue when creating the thumbnail -

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005
setting var $master_dim = ‘auto’

Where does this go and what does it do exactly? Sounds good…

Thanks .

       
Brian M.'s avatar
Brian M.
529 posts
17 years ago
Brian M.'s avatar Brian M.

You would probably get more official response if you posted in either the technical support forum or the bug forum. It is unfortunate (although understandable considering the traffic) that mod and official posts somewhat rare outside of those two forums.

       
Erin Dalzell's avatar
Erin Dalzell
790 posts
17 years ago
Erin Dalzell's avatar Erin Dalzell

http://ellislab.com/forums/viewthread/64093/#314848

       
Bruce2005's avatar
Bruce2005
536 posts
17 years ago
Bruce2005's avatar Bruce2005

Perfect! That link explains it. Thank you.

       

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.