It is so useful to see thumbnails in management panel rather then just image filepath when you search certain picture to delete. Have no idea why it isn't implemented yet.
So I've did it by myself. It was easy to do and I just want to see this feature in next realises. If anyone want, I will explain how I did that. Thanx)
It is for wakaba script of course.
Did you make it an option?
Nope. It switchs manually by editing one line in futaba_style.pl.
Here are two patch files: http://dobrosan.ru/tmp/
Resolving dobrosan.ru... 88.147.128.10
Connecting to dobrosan.ru|88.147.128.10|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Sorry. Try this: http://dobrosan.ru/tmp/patch.tar.gz
Doesn't work so well; only displays .jpg files as thumbs. Maybe figure out a way to have it display the actual thumbnail .jpg image?
Nice effort though.
>>9 here again, I fixed it for you.
One edit to futaba_style.pl, just change the width to whatever you want. This way it displays all of the uploaded images, not just the .jpegs.
>>9
o_O
Why only jpegs? It shows all uploaded images thumbnails in managment panel instead of just text links.
Iunno, but that's what it was doing.
Anyway, there's my go at it, no need for two edits. I'mma make it an option in my stock copy.
Well, that works too) Will it be included in next release?
How do you handle the .patch files?
Is there an interpreter that patches the relevant files, or do you find the relevant place for the raw code?
Just replace: <const S_PICNAME><a href="<var expand_filename(clean_path($image))>"><var clean_string($image)></a>
With: <a href="<var expand_filename(clean_path($image))>"><img src="<var expand_filename(clean_path($thumbnail))>" style="height:50px;" /></a>
<const S_PICNAME><a href="<var expand_filename(clean_path($image))>"><var clean_string($image)></a><br />
Those patches are retarded. This uses the thumbnails you already have made which means gif and png will also work.