bibihest
Forum Replies Created
-
I would also like to be able to do this.
Forum: Fixing WordPress
In reply to: Changing Thumbnail SizeI have now found out how to change the inline-uploading.php to make bigger thumbnails.
Its still not perfect and has a little bug in the image list. Here is what I have done and now I have much bigger images in my posts but still small images in the image list..
Line numbers might not be exact, so do a search
Line 237
find: $height_width = ‘height=”‘.$imag………
todo: //$height_width = ‘height=”‘.$imag (has to be removed)
not sure if its my server that has speciel settings, but $height_width is empty for me always.Line 88-91
find: if ( $imagedata[‘width’] > ………
There will be a number in each line. This will set the new size. 2 x width and 2 x heightLine 244 & 245
find: imga[{$ID}] = ‘<img id= (……
find: imgb[{$ID}] = ‘<img id= (……
todo: Insert width=\”96px\” like this
<img width=\”96px\” id= (
This is the size of the thumbnails in the image listLine 249
find: <div id=’div{$ID}’ class=’imagewrap…….
todo: in the next line, insert width=\”96px\” like above
This also fixes the size in the image list. Needs to be done in all three places or the thumbnail will get biger when you choose to make a link or not.Thats all I have done and now I have large thumbnails and small thunmbnails in the image list.
There is a bug in the image list with this, but it shouldnt be a problem. It will just show the “next” button even though it shouldn’t.
I hope someone can use this becaue I have used many hours testing it now ??
Edit: Remember to make a copy of your working file first and you need to upload all your pictures again to make it work with your pictures.
And use at your own risk.Forum: Fixing WordPress
In reply to: Thumbnails generationIm not 100% sure this is the problem, but it could be.
When the script is told to make a thumbnail, it will decompress the image in the memory on the server and then make a thumbnail with that. The thing is that a 2mpixel image will be around 30mb in RAW (it’s raw when its in the memory on the server) and a PHP script can only use 30mb in a script with the usual/default settings and the picture will take up that space.
So maybe that is your problem.Forum: Fixing WordPress
In reply to: Uploading multiple photosI would like the same. No problem uploading some pictures, but WP cant “see” them. Any way to fix that?