sjusc10
Forum Replies Created
-
Forum: Plugins
In reply to: Way to only allow thumbnail image uploading?Yup, it’s possible 🙂
If you never want to use thumbnail, you can replace that with a second “Using Original…” feature.
On line 369 or so, you want to replace:
oi.innerHTML = usingthumbnail;
with:
oi.innerHTML = usingoriginal;
That should do what you want.
Hope that helps!
Forum: Fixing WordPress
In reply to: NO THUMBNAILHami and Chillware,
The current WP upload tool works such that it won’t create thumbnails for images above a certain size. I guess the programmers wanted to help you save your gig space.
What you want to do is open your inline-uploading.php file.
On line 83 or so, where you see:
if ( $imagedata[‘width’] * $imagedata[‘height’] < 3 * 1024 * 1024 ) {
You can change the limitation to however large you’d like.
For example, you can change the “3 * 1024 * 1024” to something like:
100*100*100*100*100*100
I’m sure you get the point.
If that doesn’t work, try installing the latest version of WP. Maybe you might’ve altered code somewhere? That will help you compare your coding.
I just installed a new version of the latest WordPress, and it worked successfully. So it should work for you.
Hope that helps you!
Forum: Fixing WordPress
In reply to: Defining Thumbnail size on uploadaddenum:
If you prefer changing the thumbnail’s size, I wrote a response on this thread: http://wordpress.org/support/topic/60927?replies=6
Hope that resolves your problem.
Forum: Fixing WordPress
In reply to: Defining Thumbnail size on uploadTo eliminate using thumbnails, you’ll have to tackle the core WP files.
First, look in inline-uploading.php. On line 364, you’ll want to replace:
oi.innerHTML = usingthumbnail;
with:
oi.innerHTML = usingoriginal;
Hope that helps you!
Forum: Fixing WordPress
In reply to: Changing Thumbnail Sizesgluskin and others who might be interested,
Here’s what I tried, and it works well for my friend. I don’t know why it didn’t work fully for Thermoptic.
Hopefully this helps you:
In inline-uploading.php, look at lines 84-87.
You’ll want to change the values of 128 & 96 (two of each) to the values of your choice (they should fit the ratio 4:3).
To the best of my knowledge, you won’t have to worry about anything else because that’s the only function that creates thumbnails for WP.
Hopefully that helps you, and anybody else who might be interested. Good luck!
Forum: Plugins
In reply to: Way to only allow thumbnail image uploading?I solved it…somewhat.
For future reference to anybody who might need this feature, you’ll want to look in inline-uploading.php.
On line 361, replace:
oi.innerHTML = usingoriginal;
with:
oi.innerHTML = usingthumbnail;
And that’s it.
I’m not a PHP programmer in any sense, so please consult with your own programmer before doing anything drastic 🙂
Forum: Plugins
In reply to: Admin category selection: Using dropdown menu instead of checkboxes possible?Thanks for the tip HandySolo. I’ve made a backup just to be sure nothing goes wrong. 🙂
I’m not an experienced PHP programmer. Would you know what codes I should tackle, and what I should incorporate?
Forum: Plugins
In reply to: Admin category selection: Using dropdown menu instead of checkboxes possible?Yes, I’m fine with that. I never select multiple categories when I post, so it won’t be a problem.