thedoubtfulrebel
Forum Replies Created
-
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesI just found a plugin that may help some people here:
https://www.ads-software.com/extend/plugins/post-thumbnail-editor/It seems to work with custom image sizes as well. Of course I don’t know if it’s working out of the box, or if my other enhancements are making it detect the custom sizes.
It allows you to pick an image size you want to crop, and then allows you to do the cropping in a popup.
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesI was just looking over the code again, and unfortunately, it doesn’t look like you can do that without a ‘hack’. The whole media system doesn’t seem as extensible as it should be…
But I agree that it would be great to have that ability (to save a crop for just one size [other than the thumbnail]).
Goodluck on your solutions!
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesHeh, I guess that was too much pasted code for the moderator’s liking. As advised I have placed the code on ‘pastebin’:
redannick – It doesn’t look like there are any relevant hooks/filters to add any custom labels/options on the edit image screen. In my case, I didn’t need that. I just wanted to have “Apply changes to All image sizes” to ACTUALLY apply changes to all sizes. Not just the preset sizes, but all custom sizes as well. If you really need custom options there, you may still have to hack it… Goodluck
luisrivera – $my_image_sizes is the configuration array from the code above. Did you change the name of the array? If so, you need to change it in all instances in my example code, including that line. That error leads me to believe that an array called $my_image_sizes was never defined, or not populated with anything.
The code I pasted here (now pastebin), is working for me on WordPress 3.1.
Forum: Hacks
In reply to: [hack] crop custom thumbnail sizesI agree with redannick that his solution is better. I find myself in the same situation and I was considering the the hack. However, after some thought, I created some code that does exactly what redannick wants, WITHOUT the core hack.
The following code can go in your functions.php file:
[Code moderated as per the Forum Rules. Please use the pastebin]
Obviously, the $my_image_sizes array is like a configuration file, and you should change it to have whatever custom images sizes you want (not mine).
I hope this is helpful to redannick and others like us who were disappointed to find that “Apply changes to All image sizes” is a lie.
Forum: Fixing WordPress
In reply to: Comments RSS feed from a specific category… Broken in 2.7I am having the same exact issue. Only, the way I was accessing the comments feed within a category was using a URL that looked like this:
yourdomain.com/?feed=comments-rss2&cat=XX
Neither your method nor mine seem to work in 2.7. I am looking for a solution, but no luck so far. It looks like a (undocumented) feature that was thrown out with the bath water.
Since this was the only page I found even mentioning this issue, I can only hope that others will find it and hopefully someone will have a solution.
Forum: Fixing WordPress
In reply to: Comments Feed stopped working in WordPress 2.7The solution is described here: https://toppersplace.com/wordpress/?p=132
Forum: Fixing WordPress
In reply to: Comments RSS feed not workingThe solution is described here: https://toppersplace.com/wordpress/?p=132