Timeline for How can I make add_image_size() crop from the top?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 15, 2011 at 16:32 | comment | added | cr0z3r | Hm, strangely enough, it does not work on my theme - could it be because I was running locally (I highly doubt it)? I will have it up online and show it to you soon. | |
Dec 10, 2011 at 13:50 | comment | added | Rarst | @cr0z3r I know of no reason why it won't work. But note that this is only rough proof-of-concept example, rather than meaningful reliable code. | |
Dec 9, 2011 at 22:40 | comment | added | cr0z3r | May I ask if this still works? I just implemented the hook into my functions.php file and I have add_image_size() functions set-up, but the cropped images still get cropped form the center out. | |
Nov 24, 2011 at 22:00 | vote | accept | Mild Fuzz | ||
Jun 25, 2011 at 16:31 | history | edited | Rarst | CC BY-SA 3.0 |
added code example
|
Jun 24, 2011 at 10:02 | comment | added | TheDeadMedic |
No, messing with the core would be changing the image_resize function. Rarst was making the point that you'd have to hook into the resizing process, but create the image sizes yourself manually.
|
|
Jun 24, 2011 at 9:43 | history | edited | Rarst | CC BY-SA 3.0 |
typo
|
Jun 24, 2011 at 9:35 | comment | added | Mild Fuzz | sounds a lot like messing with the core!! | |
Jun 24, 2011 at 9:28 | history | answered | Rarst | CC BY-SA 3.0 |