Image URLs

Crazyfruitbat

Well-known member
hey guys, quick question.

Because I have a website based around photography sometimes I need to grab the URLs of the pics that the users have uploaded to post them in other areas of the site (like wordpress) or for email newsletters etc.

The problem I have is that it I don't have a url ending in jpg. for example:
Code:
http://www.pixelatedphotographer.com/forums/index.php?attachments/final-jpg.35/
So I can't use the url in other softwares etc. Now I know I can download the pic and just save them but that takes a huge amount of time if I have 20 or 30 pics and do this every week etc

Is there anyway to get the direct link?
 
Do you require an actual image file extension in the URL? I don't see any easy way to do this.

The actual data files in the file system have a ".data" file extension, so a direct URL to the data file would do you no good.
 
You really need to save the image as an actual file to do what you want. The main reason isn't the URL - you don't need it to end in .jpg provided you're using the URL from XF - the main reason is permissions. Unless you've changed them, guests won't be able to see the (full size) attachments.
 
Top Bottom