Page 1 of 9

Editing the Wiki

Posted: Wed May 19, 2010 1:16 pm
by JazHaz
Think there should be a discussion thread about editing the wiki, so I have made one. :D

First item, I have changed the ship galleries for the Neolite, Griff, Deepspace, and the forthcoming Smivs Shipsets, to a 100% table width and black background colour. It looks much better.

However there seems to be borders around the images (in the Griff one especially). Anyone know how to get rid of them? I've tried setting borders to zero but that doesn't work unlike in HTML.

Re: Editting the Wiki

Posted: Wed May 19, 2010 5:53 pm
by Smivs
JazHaz wrote:
Think there should be a discussion thread about editting the wiki, so I have made one. :D

First item, I have changed the ship galleries for the Neolite, Griff, Deepspace, and the forthcoming Smivs Shipsets, to a 100% table width and black background colour. It looks much better.

However there seems to be borders around the images (in the Griff one especially). Anyone know how to get rid of them? I've tried setting borders to zero but that doesn't work unlike in HTML.
The galleries are looking much better with the black background.
With regard to the border, I have looked at the pages (Griffs in particular) and can't see them. I've used Opera and Firefox on my Linux box and fired up my old Windows box to check on IE6, Chrome and Safari and no borders to be seen. It might be to do with the hover or onmouseover which tells you which ship you're looking at (which doesn't work on Opera by the way).
If the pictures act as a hyperlink (<a href= ***etc></a>) you might need to use
a img {border: none; }
or something similar in the stylesheet.

Re: Editting the Wiki

Posted: Wed May 19, 2010 6:05 pm
by JazHaz
Smivs wrote:
JazHaz wrote:
However there seems to be borders around the images (in the Griff one especially). Anyone know how to get rid of them? I've tried setting borders to zero but that doesn't work unlike in HTML.
With regard to the border, I have looked at the pages (Griffs in particular) and can't see them.
Here's a screengrab showing the borders I mean. They are dark grey in colour so maybe you need to change your gamma settings to see them?

Image

Posted: Wed May 19, 2010 6:11 pm
by Pluisje
With Firefox 3.6 and Safari 4.0.5 on a MacMini I also see the borders. When zooming they look to be part of the pictures. The original pictures when following the link don't have the border.

I think somewhere there is an anti-aliasing function interfering.

Re: Editting the Wiki

Posted: Wed May 19, 2010 6:25 pm
by Smivs
JazHaz wrote:
Smivs wrote:
JazHaz wrote:
However there seems to be borders around the images (in the Griff one especially). Anyone know how to get rid of them? I've tried setting borders to zero but that doesn't work unlike in HTML.
With regard to the border, I have looked at the pages (Griffs in particular) and can't see them.
Here's a screengrab showing the borders I mean. They are dark grey in colour so maybe you need to change your gamma settings to see them?

Image
I still can't see them, even in your screenshot, but I guess that's a good thing really. No real idea what might be causing them...Sorry :(

Posted: Wed May 19, 2010 6:29 pm
by JazHaz
Pluisje wrote:
With Firefox 3.6 and Safari 4.0.5 on a MacMini I also see the borders. When zooming they look to be part of the pictures. The original pictures when following the link don't have the border.
Yeah I checked out the original files, and zoomed in using Gimp, but they don't have borders at all.

Posted: Wed May 19, 2010 6:31 pm
by JensAyton
The original images do have the borders, you just can’t see them against a light background. Don’t trust your eyes, use an eyedropper tool or similar.

The borders are probably an effect of scaling using software that doesn’t handle edges well. The easiest workaround is to crop the images by a couple of pixels.

Posted: Wed May 19, 2010 6:38 pm
by JazHaz
Ahruman wrote:
The easiest workaround is to crop the images by a couple of pixels.
Don't think I'll bother to be honest. If it was a case of faulty wiki code that could be sorted, then yes I would. But editting images to stop artifacts that not everyone notices, I don't think its worth it....! :)

Posted: Thu May 20, 2010 2:44 am
by ADCK
i only see the borders on Griffs Normalmapped ships, all his other ships on that page don't have borders. I think he takes the screenshots for the normalmapped ships in a 3rd party model viewer if I remember right.

Perhaps that 3rd party program adds borders to its screenshots, as the borders are exactly 1 pixel width and uniform in color in the full size pics (not the thumbnails), if it was image fragmentation there would be some variation on this. Or perhaps Griff's taken to bluring a picture before uploading it? That would produce the same effect.

Posted: Thu May 20, 2010 6:50 am
by JensAyton
ADCK wrote:
Perhaps that 3rd party program adds borders to its screenshots, as the borders are exactly 1 pixel width and uniform in color in the full size pics (not the thumbnails), if it was image fragmentation there would be some variation on this. Or perhaps Griff's taken to bluring a picture before uploading it? That would produce the same effect.
Or it’s an effect of scaling using software that doesn’t handle edges well.

Posted: Thu May 20, 2010 7:39 am
by Griff
i shall put an end to the mystery - yep, i take the screen grabs in rendermonkey then scale them down so they're 300 pixels wide in Photoshop, i must have been forgetting to set the background colour to black before doing the resizing and it's added that antialiased border in. If i edit the originals in my photobucket account, will the changes automagically transfer to the wiki ones or are the wiki pics stored in the wiki?

Posted: Thu May 20, 2010 8:07 am
by ADCK
Griff wrote:
i shall put an end to the mystery - yep, i take the screen grabs in rendermonkey then scale them down so they're 300 pixels wide in Photoshop, i must have been forgetting to set the background colour to black before doing the resizing and it's added that antialiased border in. If i edit the originals in my photobucket account, will the changes automagically transfer to the wiki ones or are the wiki pics stored in the wiki?
No, those screenshots were uploaded to the wiki.

Posted: Thu May 20, 2010 1:23 pm
by JazHaz
ADCK wrote:
Griff wrote:
i shall put an end to the mystery - yep, i take the screen grabs in rendermonkey then scale them down so they're 300 pixels wide in Photoshop, i must have been forgetting to set the background colour to black before doing the resizing and it's added that antialiased border in. If i edit the originals in my photobucket account, will the changes automagically transfer to the wiki ones or are the wiki pics stored in the wiki?
No, those screenshots were uploaded to the wiki.
Griff, let us know if you edit them on photobucket. Please then give me a link to your photobucket account, and I'll grab them and update the ones on the wiki.

Posted: Thu May 20, 2010 3:26 pm
by Griff
I've been through them cropping a few pixels from the edges using the tools in photobucket, i've shared the album and here's the link
http://s105.photobucket.com/albums/m213 ... d%20Ships/

Posted: Fri May 21, 2010 12:53 am
by JazHaz
Griff wrote:
I've been through them cropping a few pixels from the edges using the tools in photobucket, i've shared the album and here's the link
http://s105.photobucket.com/albums/m213 ... d%20Ships/
OK have grabbed them all. Just need to go through and rename them to match the existing ones so I can update them. This means I won't need to do much extra work, although having said that I notice that there are some new images that aren't on the wiki.

EDIT: updated all the images. Mostly that did fix the problem, however there were 4 files that had even worse borders! :lol: So I loaded them into Gimp and ran around the borders of them with a paintbrush, which seems to have finally sorted it (although I had to have 3 attempts on one of the Fer-de-lances :lol:).