 | |  | | | Photopost Pro How Do I...? Wondering how to do things in PhotoPost? |
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
|
| |
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.
|
| |
October 10th, 2010, 12:10 PM
|
#3 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
October 10th, 2010, 04:10 PM
|
#5 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
October 11th, 2010, 11:15 AM
|
#6 (permalink)
| | Member
Join Date: Oct 2009
Posts: 39
| Quote:
Originally Posted by Chuck S 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.
|
| |
October 11th, 2010, 06:24 PM
|
#7 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
October 11th, 2010, 06:25 PM
|
#8 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
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.
|
| |
October 11th, 2010, 07:46 PM
|
#10 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
October 11th, 2010, 08:00 PM
|
#11 (permalink)
| | Member
Join Date: Oct 2009
Posts: 39
| Quote:
Originally Posted by Chuck S 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.
|
| |
October 11th, 2010, 08:13 PM
|
#12 (permalink)
| | Photopost Developer Verified Customer
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.
|
| |
October 11th, 2010, 08:25 PM
|
#13 (permalink)
| | Member
Join Date: Oct 2009
Posts: 39
|
Last edited by vbfan; October 11th, 2010 at 08:31 PM.
|
| |
October 11th, 2010, 08:52 PM
|
#14 (permalink)
| | Photopost Developer Verified Customer
Join Date: Jun 2002 Location: Abingdon,MD
Posts: 71,666
|
LOL you had to use that dude
|
| |
October 12th, 2010, 09:31 PM
|
#15 (permalink)
| | Member
Join Date: Oct 2009
Posts: 39
|
:d |
| |
October 13th, 2010, 08:36 AM
|
#16 (permalink)
| | Photopost Developer Verified Customer
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.
|
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | | | Thread Tools | | | | Display Modes | Rate This Thread | Linear Mode | |
Posting Rules
| You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -5. The time now is 08:51 PM. | |