Template talk:CSS image crop
|This template was considered for deletion on 7 March 2012. The result of the discussion was "keep".|
«Location = anything» doesn't work
As I understand it, «Location = right» should position the image box on the right of the page. This is no longer working. Would anybody be able to fix this? (Location = tright is a poor workaround; the thumb then lacks padding on the right) —WOFall (talk) 17:58, 28 May 2010 (UTC)
- Done —CodeHydro 22:21, 12 September 2010 (UTC)
- Actually, I figured out the problem. There was an extra style="..." in the code in the first div tag. It has been fixed. I also made it so it doesn't matter if you use tright or right, tleft or left; it should work either way in case some folks did the workaround. —CodeHydro 23:36, 12 September 2010 (UTC)
- And now, this has been even further fixed to allow for empty descriptions without creating the thumbs box like this:
Is base image reused from memory buffer when several crops involved ?
Hello, If I crop different portions of the same base image several times in the same article, is this unique base image sent several times over the internet to the browser, or is it sent once and then reused from the browser memory buffer ?
The idea is to create a base image representing a gallery of portrait thumbnails (about 30 people), and then crop this gallery to extract the right portrait to the right place (genealogy). If I had to dynamically resize all the individual portraits, the page size would be huge (about 50 Mb) and the downloading would also take too much time.
- Hi, the whole image is downloaded either once ever (until your clear your browser's cache), or once per page load--depending on your browser and its settings. Any reasonably-designed browser should not download more often than once per page load; those that do, if they exist, probably cannot hold onto more than 0.01% of internet users in today's competitive browser market. —CodeHydro 17:49, 18 October 2010 (UTC)