Image URLs


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:
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?

Jake Bunce

XenForo moderator
Staff member
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.


Well-known member
cheers Jake, yeah so in instead of me re-uploading the images to wordpress as well I would just like to have the standard jpg URL


XenForo developer
Staff member
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.