
Feature request - Should we use different algorithm for thumbnail sizes?
Reported by dleffler | May 24th, 2012 @ 09:50 PM
We currently do a zc (zoom-crop) to fill the entire thumb-box with a zoomed portion of the image. Should we maybe consider using the max-width/max-height parameters to get an actual thumbnail constrained to the thumb-box instead of a portion of the entire image filling the box?
Comments and changes to this ticket
-
dleffler May 25th, 2012 @ 03:38 AM
- Title changed from Feature request - Should we use different algorithym for thumbnail sizes? to Feature request - Should we use different algorythm for thumbnail sizes?
- Assigned user set to expNinja
-
dleffler May 25th, 2012 @ 05:25 PM
- Assigned user cleared.
-
dleffler May 26th, 2012 @ 01:51 AM
- Title changed from Feature request - Should we use different algorythm for thumbnail sizes? to Feature request - Should we use different algorithm for thumbnail sizes?
- Assigned user set to expNinja
-
dleffler June 3rd, 2012 @ 12:16 PM
- Assigned user cleared.
- Milestone set to 2.0.8
- Milestone order changed from 186 to 0
-
dleffler June 4th, 2012 @ 01:57 PM
Also, we only use the height variable in some instances (like primary image), but height/width in other instances, which creates an inconsistency within the displayed item.
-
dleffler June 6th, 2012 @ 01:39 PM
Should also note that we force the image height/width (in the img tag) ONLY when we pass both an h & w (but NOT if we just pass one) so we also (might) get a shrink/stretch effect, but NOT a true thumbnail (since we FORCE the browser to display the image inside the img height/width box).
-
-
dleffler September 26th, 2012 @ 02:19 AM
- State changed from new to open
- Milestone changed from 2.0.9 to 2.1.0
- Milestone order changed from 2 to 0
-
dleffler November 2nd, 2012 @ 03:57 PM
- Assigned user set to dleffler
- Milestone order changed from 22 to 0
-
dleffler November 21st, 2012 @ 08:56 PM
- Milestone changed from 2.1.0 to 2.1.1
- Milestone order changed from 59 to 0
-
-
-
dleffler February 16th, 2013 @ 02:56 AM
- Milestone changed from 2.2.0alpha2 to 2.2.0alpha3
-
dleffler March 2nd, 2013 @ 01:42 PM
- Tag changed from phpthumb to graphics, phpthumb
actually, the default behavior for phpThumb is to maintain the aspect ratio inside the h x w box.
We also still use 'square' as an {img} phpThumb param in some places, perhaps we need to use it as a param to {img} to easily set h & w the same? or tell it we want a square image (zc)?
-
dleffler March 2nd, 2013 @ 01:59 PM
We also need to investigate JPEG Quality now that we default to outputting PNG for transparency. There is PNG compression (0-none to 9-smallest), but it doesn't seem to be supported in phpThumb (currently)
-
dleffler March 2nd, 2013 @ 05:36 PM
fwiw, just added a 'f=jpeg' param to the {img} calls in the attached file display views, also removed the zc=1 and added a far=TL in some instances
-
dleffler March 2nd, 2013 @ 09:43 PM
- Milestone changed from 2.2.0alpha3 to 2.2.0beta1
-
-
expNinja March 4th, 2013 @ 12:03 PM
(from [bd0ee3a5574e863400996ce69710272aebdd2fc3]) Attempts to use better algorithm for thumbnail sizes in photoalbum & attached file display by using far (force aspect ratio) instead of zc (zoom crop), also implements title/alt for graphics, & forces display as jpeg since we now default to png for thumbnails to preserve transparency [#617] https://github.com/exponentcms/exponent-cms/commit/bd0ee3a5574e8634...
-
dleffler March 16th, 2013 @ 03:27 AM
- Milestone changed from 2.2.0beta1 to 2.2.0beta2
-
dleffler March 29th, 2013 @ 07:59 PM
- Milestone changed from 2.2.0beta2 to 2.2.0beta3
-
dleffler April 20th, 2013 @ 10:17 AM
- Milestone changed from 2.2.0beta3 to 2.2.0release-candidate
-
dleffler May 1st, 2013 @ 10:22 AM
- Milestone changed from 2.2.0release-candidate to 2.2.1
-
-
dleffler April 25th, 2015 @ 03:00 PM
- Tag changed from graphics, phpthumb to 3rd party library, graphics, phpthumb
-
-
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Bug Tracker for Exponent CMS