andrez47 / thumbnail-zoom

Firefox addon that zooms thumbnail pictures from Facebook, Twitter, MySpace, Amazon, Picasa, Flickr, LinkedIn and Hi5!
9 stars 12 forks source link

possible to support image-hoster in bulletin boards? #3

Open AndyK70 opened 13 years ago

AndyK70 commented 13 years ago

What I am thinking of is... to identify the thumbnails in bulletin boards that are linked to the full version of the image for imageshack and sites like that.

in gaming-BBs there are often screenshots which I liked to see them in full just hovering over the thumbnail with my mouse.

andrez47 commented 13 years ago

This is something that would definitely require a further research. Can you please help me with some examples of those bulletin boards sites. Thanks!

AndyK70 commented 13 years ago

some examples are shown here: http://forum.gamescampus.eu/viewtopic.php?f=16&t=60536

For pictures hosted by imgeshack it is very easy. When you see something like this: (img src="http://img80.imageshack.us/img80/9727/12190541.th.jpg" alt="Bild") just get the url, strip of the ".th" before the ".jpg" and you get the full size image: http://img80.imageshack.us/img80/9727/12190541.jpg

Sometimes users embed the full size image, but the bb-software limits the size, as specified by the admin: (img style="width: 555px; height: 416px;" src="http://img715.imageshack.us/img715/8758/1217232012.jpg" alt="Bild") There you get the url for the image without any complications.

Using directupload.net the code looks like this: (img style="width: 160px; height: 132px;" src="http://s5.directupload.net/images/110121/temp/bsv6vsmo.jpg" alt="Bild") Just strip off the "/temp" from the url and you get the full size image

This again is when the user embeds the full size image this time when using directupload.net: (img style="width: 555px; height: 416px;" src="http://s13.directupload.net/images/110207/3dcxhbh9.jpg" alt="Bild")

Sometimes users use the attach file method for images: (img style="width: 555px; height: 416px;" src="./download/file.php?id=767" alt="1_10_19_42_19.jpg")

Next one is an example where the user had uploaded the image to the gallery board associated with the game: (img style="width: 555px; height: 419px;" src="http://file.gamescampus.eu/ShotOnline/Gallery/1_25_23_14_53.jpg" alt="Bild") Same as above, it is only size limited by the bb-software, just get the plain url...

These are the first, but I can look out for more if you like.

Edit: changed <> to (), was wondering the html-code was really interpreted instead of just displayed as text.