PhotoPost Photo Gallery Sales PhotoPost Sales Toll Free Phone Number
Mon-Fri 9am-4pm EST
  PhotoPost Photo Sharing Photo Gallery    Visualize community tm
| | | | | | | | |

Go Back   PhotoPost Community > PhotoPost Support > PhotoPost Pro Support Forums > Photopost Pro How Do I...?

Photopost Pro How Do I...? Wondering how to do things in PhotoPost?

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old October 9th, 2010, 10:14 PM   #1 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
HTML Codes

Hi Chuck,

You know how images in PhotoPost give BB and HTML codes at the bottom?

Well, I was wondering for HTML, how can I let users copy an HTML code that links back to the page?

So w/ this image for example: Summer in Chi Town - PhotoPost Photo Gallery

The current code it gives is
Code:
Content visible to verified customers only.
What template and where do I need to edit so it's like
Code:
Content visible to verified customers only.
thank you
vbfan is offline   Reply With Quote
Old October 9th, 2010, 11:57 PM   #2 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
Also had a second question...

the variable $data['bigimage'] outputs the html code with the alt, title, and url of a thumbnail. like so

Code:
Content visible to verified customers only.

what variable only outputs the url of a thumbnail w/out the html junk?


Thank you.
vbfan is offline   Reply With Quote
Old October 10th, 2010, 12:10 PM   #3 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
The only linkable items are the linked thumb and medium which also show its ubbcode

http://www.reeftalk.com/gallery/b-2&...-DSCN0516.html

which script are you referring to that uses that variable. I assume your trying to hack something up.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 10th, 2010, 02:51 PM   #4 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
Hi Chuck

1. I actually do want a linked thumb code to generate, but using HTML in addition to the UBB code. Is that possible?


2. external.php uses it the $data['bigimage'] but my RSS reader isn't letting me use that because of all the junk in it. that's why I just wanted the thumbnail url generating variable. *crosses fingers* Is there one?

Thank you.
vbfan is offline   Reply With Quote
Old October 10th, 2010, 04:10 PM   #5 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
1. then you would need to alter code to suit your needs there is no option for what you want.

2. junk in it? Not sure what issue you have. I can put our rss feed into a feed reader and it works so what is the issue you have maybe its related to your reader.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 11th, 2010, 11:15 AM   #6 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
Quote:
Originally Posted by Chuck S View Post
1. then you would need to alter code to suit your needs there is no option for what you want.

2. junk in it? Not sure what issue you have. I can put our rss feed into a feed reader and it works so what is the issue you have maybe its related to your reader.
1. Which file should I alter to suit my needs?

2. Not sure why it's doing that so this is why I am asking. It's the easiest fix. What is the variable that only outputs the thumbnail url?

Thank you.
vbfan is offline   Reply With Quote
Old October 11th, 2010, 06:24 PM   #7 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
1. showphoto.php

2. external.php

Again not sure what your issue is as I have not seen your issue in relation to number 2.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 11th, 2010, 06:25 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
PhotoPost.Com

I see no issues with your rss script which is why I have asked what exactly the issue is where.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 11th, 2010, 07:38 PM   #9 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
1. thanks!


2. the problem is not with your script. it's with an RSS reader for wordpress I am using on my site to display the feed generated from your script.

i need a variable for a direct url to the thumb (like $link, but just for thuumbnails) to display the image. for whatever reason the Rss Reader i am using does not read the width, height, title, border, etc stuff in the img tag.

i know (or think lol) the line that has to be changed is
Code:
Content visible to verified customers only.
but the question is to what so only the url to the thumb displays.
vbfan is offline   Reply With Quote
Old October 11th, 2010, 07:46 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
well you would need to create some new function or some hard coded string for the image

we use as you can see our program functions in the script so it is going to return width height alt tags which is a normal img html tag scripting

I would suggest you clone the get_imagethumb function from pp-inc.php into external.php and call it say get_rssthumb and edit that function accordingly to remove what you want to remove and change that line you note to your new function name.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 11th, 2010, 08:00 PM   #11 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
Quote:
Originally Posted by Chuck S View Post
well you would need to create some new function or some hard coded string for the image

we use as you can see our program functions in the script so it is going to return width height alt tags which is a normal img html tag scripting

I would suggest you clone the get_imagethumb function from pp-inc.php into external.php and call it say get_rssthumb and edit that function accordingly to remove what you want to remove and change that line you note to your new function name.
i just tried to do it and i have nooo idea what i just did. that sounds like a cake walk for somebody like you, but for me it is out of my league

is there any way you can do it for me, kind sir?

i could post the file on here as to what I did if it is permissible.
vbfan is offline   Reply With Quote
Old October 11th, 2010, 08:13 PM   #12 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
well we really do not assist with code mods in a support role here but try this

Code:
Content visible to verified customers only.
possibly maybe this

Code:
Content visible to verified customers only.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 11th, 2010, 08:25 PM   #13 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39


YOU ROCK!!!!!!!


Code:
Content visible to verified customers only.


My rss feed reader reads that

Thanks so much, I appreciate it alot!!

Last edited by vbfan; October 11th, 2010 at 08:31 PM.
vbfan is offline   Reply With Quote
Old October 11th, 2010, 08:52 PM   #14 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
LOL you had to use that dude
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Old October 12th, 2010, 09:31 PM   #15 (permalink)
Member
 
Join Date: Oct 2009
Posts: 39
:d
vbfan is offline   Reply With Quote
Old October 13th, 2010, 08:36 AM   #16 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,666
yeah I saw the borat movie after that I could not even stomach to try and watch the bruno thing.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is online now   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Html codes for photos. duenorth2112 Photopost Pro How Do I...? 3 January 27th, 2010 02:02 PM
Description showing html codes ... gungde3967 Classifieds How do I...? 18 September 9th, 2009 08:06 AM
find HTML codes... Wasabe Photopost Pro How Do I...? 5 May 22nd, 2005 12:51 AM
Enable HTML codes within ad descriptions? Rich Z Classifieds Installation & Upgrades 6 December 24th, 2004 08:13 PM


All times are GMT -5. The time now is 08:51 PM.

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