![]() |
|
04-27-2012
|
1 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
Script: Image Viewer
I posted my first version of this on the official Graal Forums, but grew tired of bashed about. Since I find this to be a much more friendly community, I'll be posting things here from now on. This is a GUI Image Viewer. It can view any image files that have been uploaded to your server. All you have to do is type in the folder name (relative to levels/*) in the bottom left hand corner of the GUI window, and if it finds image files in that folder, it will list them in the left pane. Clicking on the images listed will show them in the right pane. Larger images that are bigger than the right pane can also be viewed since the right pane is scrollable making it easier to view images like tiles. If you navigate to heads, bodies or hats, you can set your characters head, body or hat image by selecting an image and hitting the apply button to the right of the search bar. If you have any questions or would like to suggest something to be added to this or a lazy clump of code fixed, post a message here and I'll get right to it. Images of the GUI have been attached. PHP Code:
|
|
04-27-2012
|
2 |
|
Custom User Title
Join Date: Sep 2011
Location: Australia
Posts: 2,534
|
Nice!
|
|
04-27-2012
|
3 |
|
Player.
Join Date: Sep 2011
Location: Pennsylvania
Posts: 1,812
|
Excellent job Emera
|
|
04-27-2012
|
4 |
|
Wizard In Training
Join Date: Sep 2011
Location: A cold, barren wasteland (Wisconsin)
Posts: 742
|
AHH TOO MUCH CODE!!! *dies*
|
|
04-27-2012
|
5 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
04-27-2012
|
6 |
|
Wizard In Training
Join Date: Sep 2011
Location: A cold, barren wasteland (Wisconsin)
Posts: 742
|
|
|
04-27-2012
|
7 |
|
Bazinga
Join Date: Dec 2011
Posts: 575
|
Nifty! Good job!
|
|
04-27-2012
|
8 |
|
GRAPHIC ARTIST
Join Date: Oct 2011
Location: Germany
Posts: 338
|
ooo cool!
|
|
04-27-2012
|
9 |
|
nothin
Join Date: Jan 2012
Location: York
Posts: 1,483
|
bit confused on how to use it simple words?
|
|
04-27-2012
|
10 | |
|
Coder
Join Date: Sep 2011
Posts: 843
|
(Someone was going to ask, I had a feeling)
|
|
|
04-27-2012
|
11 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
Update
Bugs that have arisen.
I'll work on cleaning this up later today if I feel like it. PHP Code:
|
|
04-27-2012
|
12 |
|
Not Banned
Join Date: Sep 2011
Location: Hell
Posts: 4,885
|
hmmm, would it be possible to make a version that can show images, that you can zoom in on, that would work on iphone? or would that be a different type of coding? sort like the map on era, but with a image , you can pan and scroll in, would that be possible?
|
|
04-27-2012
|
13 |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|
|
04-27-2012
|
14 | |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
|
|
|
04-27-2012
|
15 |
|
:)
Join Date: Sep 2011
Location: no.
Posts: 10,309
|
I don't necessarily understand what it is but it looks like it will help someone...
|