Add thumb image to management panel instead of 'src/123456789.jpg' (17)

1 Name: Anonymous : 2008-12-15 04:33 ID:A7Xqammv [Del]

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)

2 Name: Anonymous : 2008-12-15 04:38 ID:A7Xqammv [Del]

It is for wakaba script of course.

3 Name: Anonymous : 2008-12-15 16:47 ID:gmRBxUuu [Del]

Did you make it an option?

4 Name: Anonymous : 2008-12-16 02:26 ID:A7Xqammv [Del]

Nope. It switchs manually by editing one line in

5 Name: Anonymous : 2008-12-16 11:19 ID:Heaven [Del]

>>1 write up a .patch file.

6 Name: Anonymous : 2008-12-17 00:17 ID:A7Xqammv [Del]

Here are two patch files:

7 Name: Anonymous : 2008-12-17 03:01 ID:Heaven [Del]


Connecting to||:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error

8 Name: Anonymous : 2008-12-17 03:28 ID:A7Xqammv [Del]

9 Name: Anonymous : 2008-12-17 07:52 ID:J8+T5Lvk [Del]

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.

10 Name: Anonymous : 2008-12-17 08:01 ID:J8+T5Lvk (Image: 723x41 png, 18 kb) [Del]

src/1229529682193.png: 723x41, 18 kb

>>9 here again, I fixed it for you.

One edit to, just change the width to whatever you want. This way it displays all of the uploaded images, not just the .jpegs.

11 Name: Anonymous : 2008-12-17 23:59 ID:A7Xqammv [Del]

Why only jpegs? It shows all uploaded images thumbnails in managment panel instead of just text links.

12 Name: Anonymous : 2008-12-18 07:53 ID:J8+T5Lvk [Del]

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.

13 Name: Anonymous : 2008-12-18 08:50 ID:A7Xqammv [Del]

Well, that works too) Will it be included in next release?

14 Name: Anonymous : 2008-12-18 09:09 ID:Heaven [Del]

>>13 what next release?

15 Name: Anonymous : 2009-03-29 09:25 ID:9SzffMP7 [Del]

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?

16 Name: Anonymous : 2009-03-29 14:32 ID:Heaven [Del]

17 Name: Anonymous : 2009-04-10 06:10 ID:It2kxWPJ [Del]

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.

Name: Link:
Leave these fields empty (spam trap):
More options...