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 September 3rd, 2009, 12:45 PM   #1 (permalink)
Member
Verified Customer
 
drare's Avatar
 
Join Date: Feb 2009
Location: Holland
Posts: 90
Custom category avatars (thumbs)

Chuck,

I reviewed all possible items on Cat avatars, all of them, at least most of them are about how to set up a cat avatar, I found this long ago.

But here's my challenge, don't like to call it problems anymore!
We allow per cat a max. no of photo's of 750, when I assign a photo from the database to the cat index in time this will disappear, and not all photo's a uniform in size, so here is what I was thinking.

I place all cat thumbs on the server, do some coding in categories.tmpl and done, yeah right, thinking like a dummy, of course this won't work. I've looked at the template and the pp-inc file

This code shows the cat thumbs:
Code:
Content visible to verified customers only.
But I'm stuck from there on how to actually get my uniform custom thumbs on to the category indexes with some extra coding, It looks like it should be possible, even when the thumb is not in de database, can you help me out, or direct me to a post I missed with the same question?

Thanks in advance Cuck.
drare is offline   Reply With Quote
Old September 3rd, 2009, 01:29 PM   #2 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Not sure what your trying to do but lets explain how it works.

Category Avatars are set by you clicking MAKE INDEX THUMB when viewing a photo.

There is an option in Admin as well to set all cat avatars to the first photo uploaded in that can under Scan Database in admin.
__________________
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 September 3rd, 2009, 02:09 PM   #3 (permalink)
Member
Verified Customer
 
drare's Avatar
 
Join Date: Feb 2009
Location: Holland
Posts: 90
Yes Chuck I understand this, but in time when a cat reaches the 750 photo limit the oldes, which may in time be the photo from which I made the Cat avatar is gone because the photo is no longer in the database, so I loose the cat avatar (or not?)

Since the photo used for the cat avatar may vary in size, landschap, portrait, I want a uniform avatar, preferbally aquare, that's when I got the idea to altar the code to have the avatar not from a photo in the database but a avatar I put on the server.

Hmmm I hope I did explain it a little better, I need to upgrade my English chip in my head so I can explain it better, sometimes I'm not sure how to say it in English, but so far we do understand each other most of the times :-)
drare is offline   Reply With Quote
Old September 3rd, 2009, 02:43 PM   #4 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
what 750 limit? You lost me there. There is no limit

Your free to modify your code however you wish but I am not aware of any limitations. The thumbnail field which stores a photo id is an int 15 digit limit which is like photo ids alway through the trillions

If you want uniform thumbs why not set use in upload options in admin the uniform thumbnail feature if your using imagemagick and regenerate your thumbnails?
__________________
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 September 3rd, 2009, 02:55 PM   #5 (permalink)
Member
Verified Customer
 
drare's Avatar
 
Join Date: Feb 2009
Location: Holland
Posts: 90
Chuck, sorry I ment this the: "Max number of images in category" in each cat., we have set this to 750.

I've got an idea to work this out and going to give this a try tomorrow, tired now after a long day at work.

Thanks so far Chuck.
drare is offline   Reply With Quote
Old September 3rd, 2009, 03:01 PM   #6 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Ah okay your talking some other feature got ya.

You can do something harcoded and simple like this

Code:
Content visible to verified customers only.
could be something like this

Code:
Content visible to verified customers only.
That would require you to do two things which would make static avatars

1. create a directory under your gallery install called catavatars

2. You need to create static uniform jpg images to load for each and every category and upload them to that directory.
__________________
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 September 3rd, 2009, 03:28 PM   #7 (permalink)
Member
Verified Customer
 
drare's Avatar
 
Join Date: Feb 2009
Location: Holland
Posts: 90
Top! It's working just the way I wanted to work, you're the best Chuck, thanks! I really think this is an addition for more users of PP.

Gerard
drare is offline   Reply With Quote
Old September 3rd, 2009, 03:41 PM   #8 (permalink)
Photopost Developer
Verified Customer
 
Chuck S's Avatar
 
Join Date: Jun 2002
Location: Abingdon,MD
Posts: 52,680
Actually in classifieds or reviewpost I do something similar but different. I add the ability to add a url in the thumbnail field in the category table so one can specifically add a custom avatar from where ever or simply use the default code.

This above is a simple quick and dirty hack for you.
__________________
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
Defining Category Custom Avatars Tr!p ReviewPost How do I...? 1 March 12th, 2009 04:47 PM
Problem with custom Avatars under 3.8... kind of fix Luciano Bugs - vBulletin 3.6x 2 January 28th, 2009 01:38 AM
Hide Category Avatars, but to show subcategory avatars? Pasqualis Photopost Pro How Do I...? 11 August 7th, 2008 01:58 PM
Thumbs in Forum View and custom image styles Peter Photopost Pro How Do I...? 8 February 18th, 2006 02:30 PM
Custom Avatars not loading Da GoTTi Installs and Upgrade - vBulletin 3.0.X 13 July 19th, 2005 11:20 AM


All times are GMT -5. The time now is 09:32 PM.

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