Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
AndyK70 opened this issue Mar 15, 2011 · 2 comments
Open

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

AndyK70 opened this issue Mar 15, 2011 · 2 comments
Labels

Comments

@AndyK70
Copy link

AndyK70 commented Mar 15, 2011

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
Copy link
Owner

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
Copy link
Author

AndyK70 commented Mar 25, 2011

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants