The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
How to get .jpg url from attached images?
I heard this may be available finally on VB4 and would like to know if this is true.
Currently when I right click and "Copy Image Location" or go to the properties of an attached jpg image, it gives me the attachmentid number. I would like the url, as in http://www.website.com/XXXXXX/XXXXXXX.jpg Example, this image: http://z.about.com/d/cruises/1/0/P/R...r_paris003.jpg When uploaded, I can only seem to grab this url: https://vborg.vbsupport.ru/attachmen...1&d=1264644599 I understand this will still work in VB forums as a hotlink, but I'll attempt to hotlink with this url in phpbb forums as well and it will not work. I am currently using the "Folder" method for storing my images, not the database. Can you tell me if it's possible to obtain the .jpg url of the image by default? Thanks. |
#2
|
|||
|
|||
Attachments aren't stored with that kind of extension, see my mod AJGattach in here i get the attachmentpath
i use Code:
$image = fetch_attachment_path($userid, $post['filedataid'],$thumb,''); |
#3
|
||||
|
||||
I appreciate your response, but is there a simple setting where any user can just right click and copy the image location, like on other websites? (and grab the image url?)
I plan on watermarking my attached images, and I want my members to be able to hotlink these images easily on other websites and forums, thus advertising the watermarked url. Thanks. |
#4
|
|||
|
|||
i don't think that this is possible.
because within small board often the attachments are stored in the database. |
#5
|
||||
|
||||
Where did you hear that ?
|
#6
|
||||
|
||||
Quote:
I'll have to find my post on vbulletin.com , but I'm having trouble opening their forum right now. --------------- Added [DATE]1264714292[/DATE] at [TIME]1264714292[/TIME] --------------- OK, I found it, by Lynne: http://www.vbulletin.com/forum/showt...=1#post1863165 |
#7
|
|||
|
|||
testing
i have vb4 and it worked for me link below http://www.netshaq.com/forum/attachm...5&d=1264521456 |
#8
|
||||
|
||||
Quote:
Frankly I find it strange that this has not been an issue in the past for those wanting to hotlink images to different types of forums. And... when I go Live with my VB4 installation next week from phpbb2, what's going to happen to all of those other hotlinked images that I have on other forums, driving traffic to my site? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|