Deeper photo gallery resizing tools available in CP
Posted: 03 July 2008 12:17 PM   [ Ignore ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  876
Joined  12-14-2004

As you can see in the following two threads:

http://expressionengine.com/forums/viewthread/84048/
http://expressionengine.com/forums/viewthread/51261/

There is a need for better GUI handling of some of the features in the photo gallery as it pertains to resizing. As it turns out, in order to get the results that I need, I need to edit/system/core/core.image_lip.php, finding the line

var $master_dim   = ‘height’; // height, width, or auto (auto adjusts the dimension based on whether the image is taller then wider or vice versa)

and changing its value. I didn’t see anything about that in the EE documentation, and was only told about it in Tech Support. So first, that SHOULD be something that is documented. But secondly, this would be great if it were something that we could change in the CP. This way, I wouldn’t need to remember to do it every time I upgraded EE, since that line would get overwritten when the new file is uploaded.

You can place it right in the gallery resizing preferences.

 Signature 

Love gadgets, technology, and pop culture? Visit us at Gear Live: http://www.gearlive.com

Profile
 
 
Posted: 03 July 2008 01:35 PM   [ Ignore ]   [ # 1 ]  
Moderator
Avatar
RankRankRankRankRankRankRank
Total Posts:  15380
Joined  05-15-2004

It’s core.image_lib.php (not “lip”), but I believe I made that typo in my initial reply. Just for reference, this has been requested before, to be sure:

http://expressionengine.com/forums/viewthread/50052/
http://expressionengine.com/forums/viewthread/37044/
http://expressionengine.com/forums/viewthread/6518/

 Signature 

Everything will be good in the end. If it’s not good, it’s not the end.

Profile
MSG
 
 
Posted: 13 August 2008 08:47 PM   [ Ignore ]   [ # 2 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  876
Joined  12-14-2004

Just a footnote. It is really, really disheartening so set a setting by having to edit the core.image_lib.php file, and then updating EE to the latest build and having that setting blown away, and then creating a new batch gallery with 30 images, only to realize that since you didn’t re-edit that file, all 30 images must now be redone.

Yeah, I should have noted somewhere (and then remembered to reference that note when a new build came out) that I needed to re-edit that file. But something in the control panel that I could set and forget (like almost everything else) would be a lot nicer.

That is all.

 Signature 

Love gadgets, technology, and pop culture? Visit us at Gear Live: http://www.gearlive.com

Profile
 
 
Posted: 14 August 2008 04:17 PM   [ Ignore ]   [ # 3 ]  
Summer Student
Total Posts:  9
Joined  07-30-2008

Just adding my voice to this feature request.

Ideally, the image resizing preferences would set the maximum envelope an image could fit within, and the image would then be sized appropriately.

An extra-special bonus would be that when the envelope changed (maybe due to a site redesign), there would be a checkbox to apply the new sizing across all images. That way, if one has a site with hundreds of images one isn’t stuck having to resize them all manually.

Profile
 
 
Posted: 27 September 2008 05:39 PM   [ Ignore ]   [ # 4 ]  
Summer Student
Avatar
Total Posts:  3
Joined  03-13-2008

I agree with all the above.
This would be a very useful feature - especially for image hungry sites.
Hope this is included in EE v2.

Profile
 
 
Posted: 07 October 2008 07:26 AM   [ Ignore ]   [ # 5 ]  
Grad Student
Rank
Total Posts:  32
Joined  09-17-2008

I would also like to see this. Seems simple enough if it’s already built into the code, why not make it part of the interface.

Profile
 
 
Posted: 04 November 2008 06:09 PM   [ Ignore ]   [ # 6 ]  
Grad Student
Avatar
Rank
Total Posts:  96
Joined  11-29-2006

I’d also like to see this. It’s common in XHTML+CSS sites to have layout problems when the content overflows its container horizontally. I’m having this problem right now and it’s very frustrating.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64938 Total Logged-in Users: 54
Total Topics: 81910 Total Anonymous Users: 52
Total Replies: 440318 Total Guests: 292
Total Posts: 522228    
Members ( View Memberlist )