×
  • remind me tomorrow
  • remind me next week
  • never remind me
Subscribe to the ANN Newsletter • Wake up every Sunday to a curated list of ANN's most interesting posts of the week. read more

Forum - View topic
A Curious [img][/img] / <img src=""> Problem




Anime News Network Forum Index -> Site-related -> Bugs & Technical Questions
View previous topic :: View next topic  
Author Message
nobahn
Subscriber



Joined: 14 Dec 2006
Posts: 5150
PostPosted: Sun Apr 24, 2016 4:38 pm Reply with quote
Code:
[img]http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png/revision/latest?cb=20100614150552[/img]
results in:

[img]http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png/revision/latest?cb=20100614150552[/img]

while
Code:
<img src="http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png" width="100%">
results in:



Is there any easy way of compressing the image?
But now the image is too fuzzy!


Last edited by nobahn on Sun Apr 24, 2016 9:32 pm; edited 3 times in total
Back to top
View user's profile Send private message My Anime My Manga
dormcat
Encyclopedia Editor


Joined: 08 Dec 2003
Posts: 9902
Location: New Taipei City, Taiwan, ROC
PostPosted: Sun Apr 24, 2016 7:40 pm Reply with quote
nobahn wrote:
Is there any easy way of compressing the image?

First, please define "compressing." If you just want to resize the image, simply add parameter width="" within the img tag; the value can be either exact pixels or percentage.

Code:
<img src="http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png" width="40%">


Result:


As you can see, I suggest removing unnecessary parameters after the file name; [ img ] tag of BBCode cannot deal with such URL.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
nobahn
Subscriber



Joined: 14 Dec 2006
Posts: 5150
PostPosted: Sun Apr 24, 2016 9:02 pm Reply with quote
dormcat--
Thanks for the info!

Alan45--
The below image is a screen shot from my computer.



EDIT: Please see my edited OP.
Back to top
View user's profile Send private message My Anime My Manga
Tempest
I Run this place.
ANN Publisher


Joined: 29 Dec 2001
Posts: 10461
Location: Do not message me for support.
PostPosted: Sun Apr 24, 2016 11:43 pm Reply with quote
I don't understand at all what you are trying to do...
Back to top
View user's profile Send private message Send e-mail My Anime My Manga
dormcat
Encyclopedia Editor


Joined: 08 Dec 2003
Posts: 9902
Location: New Taipei City, Taiwan, ROC
PostPosted: Mon Apr 25, 2016 1:13 am Reply with quote
nobahn wrote:
But now the image is too fuzzy!

1. Image quality of the file you start with is not that high: the "jigsaw" effect of aliasing is so evident on all curves. Whoever created the file from larger image(s) forgot to turn anti-aliasing on.

2. Some letters on the original file were small enough. Resizing the image, regardless of interpolation algorithm, would only make small letters even less readable.


Tempest wrote:
I don't understand at all what you are trying to do...

It all started from this thread: nobahn tried posting an image of all main characters (Tohru + 12 zodiac animals) from Fruits Basket.
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
Shiroi Hane
Encyclopedia Editor


Joined: 25 Oct 2003
Posts: 7584
Location: Wales
PostPosted: Tue Apr 26, 2016 7:04 am Reply with quote
http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png is a thumbnail version of http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png/revision/latest?cb=20100614150552
It looks like the [img] tag doesn't recognise the format of the latter as being an image however

Here's the file detail page on Wikia: http://fruitsbasket.wikia.com/wiki/File:Fruits_basket.png

There's actually a built-in scaling system at the other end, so if you wanted a 400px wide image you could used http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png/revision/latest/scale-to-width-down/400

Code:
<img src="http://vignette2.wikia.nocookie.net/fruitsbasket/images/2/2d/Fruits_basket.png/revision/latest/scale-to-width-down/400">


Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number My Anime My Manga
Display posts from previous:   
Reply to topic    Anime News Network Forum Index -> Site-related -> Bugs & Technical Questions All times are GMT - 5 Hours
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group