A few questions about media uploads
-
Hello,
Right… what I’m looking to do is utilize the new “Scale images to match the large size…” to resize images to a size I dictate that is not the default “Large” size.
I’ve found where the new function is configured; lines 1340-1341 in \wp-admin\icludes\media.php
var resize_height = <?php echo get_option('large_size_h', 500); ?>, resize_width = <?php echo get_option('large_size_w', 500); ?>,
Now I have a temporary fix; I’ve replace the options it calls with some I’ve inserted myself… the thing is I’m editing the core files as I don’t know if I can filter this…? (I presume I want to filter?) Can anyone with a stronger knowledge have a look…?
The other thing is to make sure that the box always stays checked; or at least is checked by default. Its mentioned here as being not too tricky, any advice?
The new uploader is fantastic and if I can just sort these two bits out then it saves using some rather temperamental code.
Thanks
- The topic ‘A few questions about media uploads’ is closed to new replies.