PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   Photopost Pro How Do I...? (http://www.photopost.com/forum/photopost-pro-how-do-i/)
-   -   How do add a direct link to pic at showphoto above ubbcode (http://www.photopost.com/forum/photopost-pro-how-do-i/116145-how-do-add-direct-link-pic-showphoto-above-ubbcode.html)

mjm October 12th, 2005 11:29 PM

How do add a direct link to pic at showphoto above ubbcode
 
How do show a direct link at showphoto above ubbcode?

For example, I would like to have the URL above the ubb code showing as...
Direct Link: http: //www.mysite/gallery/showphoto.php?photo=1409

This way members will know how to link to, and show pics from the gallery to our forums....

Direct Link: http: .............. Links to medium pic
IMG Link ------ We have this to show thumb for the sake of dial ups / economy

Thanks!
~ Mark

Michael P October 13th, 2005 07:37 AM

Off the top of my head - to use the same copy link and select code, above this line in showphoto.tmpl:

Code:

Content visible to verified customers only.
you could add:

Code:

Content visible to verified customers only.

mjm October 14th, 2005 02:28 AM

Works like a charm!
Thank you very much Michael!
Now users will have no doubts how to link pics from the Gallery.

May I suggest that you include this as a standard Y/N option, as is the UBB code option in a future version.

Cheers,
~ Mark

mjm June 12th, 2006 09:15 AM

5.31
 
We want the Direct Link to go to /showphoto and not /data

Carole has tried to follow the directions above but the files are different now.
How do we change this?

Thanks,

Mark

Chuck S June 12th, 2006 11:01 AM

ubbcode has to have the true image path to the file and not a script link to show the picture on the forums. Therefore a script link to the file is not going to show the photo inline in the forums but a red x.

You can change the direct link code similar to what Michael posted above that you did for ubbcode do the same for direct code like so

Code:

Content visible to verified customers only.

Carolem June 12th, 2006 02:47 PM

ubb image link to thumbs (not medium)
 
Quote:

Originally Posted by Chuck S
ubbcode has to have the true image path to the file and not a script link to show the picture on the forums. Therefore a script link to the file is not going to show the photo inline in the forums but a red x.

Thanks Chuck,
I got the medium image to go to the gallery page (with your assistance)
How do I get the ubbcode to link to the thumbs?

Wishin' I was a "coder",
Carolem

mjm June 12th, 2006 04:14 PM

ie, instead of UBB link going to:

/data/548/medium/pic.jpg[/img]

to go to

/data/548/thumbs/pic.jpg[/img]

She changed this in 5 mins last time but this time it's got her stumped.

... maybe it's just the 100 oF oven-like weather here in Texas.

mjm June 12th, 2006 04:26 PM

PS I had thumbs/medium showing the wrong way around in the above post which I have now corrected

Carolem June 12th, 2006 10:00 PM

thumbs link in showphoto.php
 
I figured it out - this thread helped me - I created a new variable.

http://www.photopost.com/forum/photopost-pro-how-do-i/114750-ubb-code-show-link-thumbnail.html

thanks,
Carolem (and MJM)


All times are GMT -5. The time now is 12:32 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97