![]() |
|
My goal is to allow users to click on an image attachment and the photshoop pops up in a new window with that image.
(I use VB 3.8) First I went to postbit_attachmentimage and added the a href Code:
<a href="http://www.pixlr.com/editor/?image=http://www.DOMAIN.com/attachment.php?$session[sessionurl]attachmentid=$attachment[attachmentid]&stc=1&d=$attachment[dateline]"> Can anyone help me out with the a href and form it in a more adequate way to get this attachment url with the (jpg,gif,png) extension? Edit: Figured it out, needed to encode the URL Code:
<a href="http://www.pixlr.com/editor/?image=http%3A%2F%2Fwww.DOMAIN.org%2Fforums%2Fattachment.php%3F$session[sessionurl]attachmentid%3D$attachment[attachmentid]&stc=1&d=$attachment[dateline]"> |
All times are GMT. The time now is 12:59 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|