|
JunkFood
Stranger


Registered: 10/02/06
Posts: 7,258
Loc: NYC
Last seen: 2 years, 6 months
|
Unable to determine these pictures' URLs
#7407030 - 09/13/07 11:26 PM (16 years, 4 months ago) |
|
|
Attached images with vBulletin are weird: You can't determine their URLs. Here's a link to a post on a vBulletin board with an attached image:
http://www.bluelight.ru/vb/showthread.php?p=4607289#post4607289
When I click the thumbnail I get brought to a page with just the image, but when I right-click the image and go to Properties it doesn't give me the actual URL of the image:

Browsers identify the page as if it's the image alone, but in that case the URL should end in .jpg...
How do you determine the URL and how/why is it hidden like that?
|
Taharka
The Root of the Problem

Registered: 09/29/05
Posts: 686
|
Re: Unable to determine these pictures' URLs [Re: JunkFood]
#7407040 - 09/13/07 11:31 PM (16 years, 4 months ago) |
|
|
It's done (or can be done) through the magic of PHP. There's no way to be sure exactly where the pictures are short of guessing, but Vbulletin may have a directory where those images are saved. I guess you could download a copy of Vbulletin and see which directory the images are saved under. Knowing the directory might not help though, because the filenames could still be obfuscated (ie, they might not be "attachementid".jpg . It's probably done this way to prevent direct-linking, and so that non-members of the forum can't look at them.
|
JunkFood
Stranger


Registered: 10/02/06
Posts: 7,258
Loc: NYC
Last seen: 2 years, 6 months
|
Re: Unable to determine these pictures' URLs [Re: Taharka]
#7407047 - 09/13/07 11:35 PM (16 years, 4 months ago) |
|
|
Ah. Yeah, if you view the source of the page in Firefox, you get a load of weird characters, which I'm assuming is encrypted code. The reason I wanted to know is because another forum I browse doesn't allow hotlinking of image from other sites, only attaching to posts, and I wanted to get around that by attaching the images and then hotlinking them.
|
tak
geo's henchman




Registered: 11/20/00
Posts: 3,776
Loc: nowhereland
|
Re: Unable to determine these pictures' URLs [Re: JunkFood]
#7407632 - 09/14/07 03:52 AM (16 years, 4 months ago) |
|
|
If they dont allow it, they dont allow it. The URL up there is the image url, except its being passed through a php script. This would make it easier for them to prevent hotlinking, as they could query a database first, etc.
But even with a direct link, hotlinking can be stopped via a lower level control in the webserver.
Try linking that URL as a picture, and see what happens.
The reason its a bunch of weird characters when you view source, is because its an image, not a text document =]
-------------------- The DJ's took pills to stay awake and play for seven days.
|
Seuss
Error: divide byzero



Registered: 04/27/01
Posts: 23,480
Loc: Caribbean
Last seen: 2 months, 20 days
|
Re: Unable to determine these pictures' URLs [Re: Taharka]
#7407713 - 09/14/07 04:51 AM (16 years, 4 months ago) |
|
|
> Knowing the directory might not help though, because the filenames could still be obfuscated
Not only obfuscated, but outside the web server docroot, making it impossible to use the web server to fetch the files without using the script.
> The reason its a bunch of weird characters when you view source, is because its an image, not a text document =]
Correct.
-------------------- Just another spore in the wind.
|
daussaulit
Forgetful

Registered: 08/06/02
Posts: 2,894
Loc: Earth
|
Re: Unable to determine these pictures' URLs [Re: Seuss]
#7412647 - 09/15/07 10:17 AM (16 years, 4 months ago) |
|
|
you can still save the picture on to your HD then upload it to like imageshack and get it hosted.
|
|