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 July 1st, 2011, 01:34 AM   #1 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Question Link to images

After choosing to view an album (mysite.com/showgallery.php?cat=...) and hovering over the thumbnails I can see where the thumbs are pointing (mysite.com/showphoto.php?photo=...). Where is this link created (please specify the file and eventually around what line of code is the link generated)? I am running Photopost Pro 7 if it matters at all. I need to change this link and I am really stuck at this point. Any hints/tips will be much appreciated.

Thank you!
artshock is offline   Reply With Quote
Old July 1st, 2011, 09:53 AM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
I am not really sure what your expecting to change. If you view any link on an html page hovering over it your going to see where the link points to that can not be changed. I mean on this very forum go to any link forum or gallery you hover over the link your going to see where the link goes.

You can check in pp-inc.php in the function get_imagethumb to see how thumbnails and there links are generated.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 1st, 2011, 12:39 PM   #3 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Hi Chuck,

I think I should explain in more details what I am after. I customized my Photopost application in such a way that after registration (through some cPanel scripting I added to the profile.tmpl) the first time the user logs in and clicks on Profile a new folder (and a subdomain) is created in the "data" folder inside Photopost and a number of Photpost files are copied inside that folder (pp-inc.php, showgallery.php, showphoto.php and few others). The purpose is to give the user a customizable page (driven by the subdomain created). I also write inside the above mentioned files the relevant information about the user (username, userid) needed to generate the page locally. So every member registered on my site will have its own page (member.domain.com) and all images will be displayed through this new URL. I successfully changed the way the system is generating the profile page, gallery page etc (by setting new rules for various a href statements) in order to fit my needs; the only standing issue being the one I pointed in my first posting . Please follow this link: LiveFolio, than click on one of the images and check again the URL. You end up navigating away from the member's site right back into the main domain. I would like to have the images to be displayed inside my member's site rather than the main domain. This is the link I referred too. I managed to find and change accordingly the link from the image title (go back to the URL specified above and click on the image title - the image will be displayed inside the member's site/subdomain and not in the main domain). I need to have identical behaviour when clicking on the thumbnail. I know it may sound like a mod question but really what I need is just the location of that link so I can modify it.

Thank you!
artshock is offline   Reply With Quote
Old July 1st, 2011, 02:56 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Well remember the links defined for clicking anything in the application is determined by the settings in the admin panel. The application is always going to go to our scripts. If your doing something different in your modifications you would need to continue those modifications.. Our application would be run from this directory and you can mask things however you want but thats how it works.

LiveFolio - community photo gallery - LiveFolio

As I stated where we generate the thumbnails and there links are in our global file pp-inc.php in the function get_imagethumb and get_thumbtmpl

For the link you need to modify the later function.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 1st, 2011, 07:14 PM   #5 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
Great - get_thumbtmp it was! I changed it accordingly and now it works perfect. Found another issue though - the Show EXIF Info link is not working anymore. From what I can understand this is a java script. Where is this script called and what shall I change to make it display the exif info in the new location I have (same as above for the thumbs link)?

Thank you!
artshock is offline   Reply With Quote
Old July 1st, 2011, 10:36 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
I really could not tell you how to do whatever your doing. We support our code how we release it.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 1st, 2011, 11:41 PM   #7 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
I customized Photopost quite extensively, so I understand your point. Thank you very much for the rest of the stuff anyway.
artshock is offline   Reply With Quote
Old July 2nd, 2011, 10:18 AM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Yeah I can not say what your doing so hard to say. I can merely tell you where in our code functions etc are.
__________________
Photopost Developer and Support Engineer

Please do not PM me for support or sales questions. Thank you for your understanding.
Chuck S is offline   Reply With Quote
Old July 5th, 2011, 03:34 PM   #9 (permalink)
Member
Verified Customer
 
Join Date: Jun 2009
Location: Canada
Posts: 98
That is in fact what I need to know about the exif link - where is it in the code and the url used to display the exif table (also in the code). The rest of it I can take care of. So if you could provide this information would be perfect.

Thank you!
artshock is offline   Reply With Quote
Old July 5th, 2011, 03:42 PM   #10 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 71,706
Its the ajax code the files are the ones your viewing showphoto php and tmpl

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 offline   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
Get the postbit to show images link dirkerasmus How Do I? - vBulletin 3.7x / 3.8x 1 May 27th, 2009 03:33 PM
Losing css link then images.... Marriard Photopost Pro Bug Reports 6 August 13th, 2008 10:17 AM
The (View all of Admin's images) Link Freeway How Do I? - vBulletin 3.0.X 1 May 11th, 2005 08:28 AM
Images And Link Are not in the right Place ? Bondy Installs and Upgrade - vBulletin 3.0.X 1 January 6th, 2005 06:53 AM


All times are GMT -5. The time now is 03:06 AM.

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