View Full Version : Catagorie Thumbnail
August 6th, 2004, 11:43 AM
Version: PhotoPost PHP 4.8.1
I am trying to find out how to add the thumbnail to my catagory index.
When I look in my admin edit catagories panel and options area... all I have is
thumbnail for main index "None" with no area to add a new thumbnail.
August 6th, 2004, 12:04 PM
You need to view a photo in a category and select make thumbnail
August 6th, 2004, 12:14 PM
Thanks for that.... never saw that link in catagory before.
August 7th, 2004, 06:15 AM
Is it possible to prevent the software from resizing the thumbnail for the index thumb.
The reason why I ask is that i have made some custom thumbs... and would like them to be clear/ easy to read. The resize looses quality.
August 7th, 2004, 09:34 AM
The category and recent comments images are coded to be .5 the size of the thumb.
Techically you could change this but it would make both thumbs big.
August 17th, 2004, 03:55 PM
Just a note -- I have a heavily customized install of Photopost Pro on one of my sites (OutdoorPhoto.com), and today was my second attempt at upgrading from 4.7x to 4.8.1. I use a variation of the alternate categories.tmpl for my gallery's index page, and couldn't figure out why I no longer could get thumbnails to display for my categories. It took Omegatron's post above for it to 'click' with me and help me resolve the customization issue.
Photopost currently calls category thumbnails "index thumbs" in one place (showphoto.tmpl, where we get to define if the currently viewed photo should be used for the category's thumbnail image) and "avatars" in another (in the Admin panel in two places, where you need to have Avatars enabled and displayed).
It's likely going to cause others confusion, if not now then at some point. They should be called either one or the other, but not both "index thumbs" AND "avatars". Your categories.tmpl can be perfect, but if you have Avatars turned off you'll be up a creek with no thumbs! :)
And while I'm rambling, a feature suggestion I have is to let folks define the size of the "avatar"/"index thumb". I hacked code for myself, but folks shouldn't be stuck with a microscopic image when all the other sizes are configurable (bigimage, medium image threshhold, gallery-wide thumbnails, etc.)
Great work on the new version, btw. A couple of the new features are things I was dragging my heels to TRY and implement myself. You did it, and did it much more cleanly than my unskilled hands would have done it! B=0
August 17th, 2004, 04:29 PM
There is nothing wrong with the code. It is coded the way it was designed and variables are not called different things ever. The code is not in showphoto.tmpl at all to be correct. It is is in the php file. The variable is AVATAR throughout the coding and is not switched to anything else. What you are referring to is the language string which says "Make Index Thumb" which you may change to your desire. Language strings usually have never followed any variable names.
If you are trying to make a suggestion please put it in the suggestions forum.
We dont follow suggestions here in the general forum at all. That is why we have a suggestion forum so when we code new versions we can research in one place user's feature requests.
August 17th, 2004, 04:35 PM
O-kay. Sorry to offend... What I'm telling you is something that is a potential usability issue from a developer/site owner/adminstrator standpoint. "Avatar" doesn't equal "index thumb" in my mind. So I was suggesting you guys choose to refer to it as one or the other.
Where did I say your code was broken?
August 17th, 2004, 04:48 PM
There was no offense was taken on my part!
You posted their was code in a file and stating php variables were mismatch named. I simply corrected your statement that the code was not in showproduct.tmpl and indeed all variables were named the same throughout the php coding. I see you have edited your post above to remove your reference to the wrong file. As I stated above the language string you are talking about is in a language file which you may name anything you want. This is the exact reason we have language files and templates so user's may modify them to their liking.
I also stated to make a suggestion you need to post it in the proper forum. We actually add tons of features user's request.
August 17th, 2004, 04:54 PM
You really, seriously, need to slow down and read what's written to you.
I actually congratulated Photopost for adding features I, myself, wanted and needed and was dragging my heels to try and custom code for myself. So I'm obviously aware that "We actually add tons of features user's (sic) request."
You still don't understand my post and I'll just give up now. Maybe someone else can communicate what was written to you more clearly.
I'm well aware of what can be changed in Photopost (without hacking code, even) -- that's why I have multiple licenses and have different websites running completely different variations of it. I was simply stating that something was very confusing, and that it could be made less confusing by being more consistent. If that doesn't make sense, I don't know how else to say it.
August 17th, 2004, 05:11 PM
Yes I saw your compliment and its appreciated.
I also see you took my suggestion and placed your suggestion in the suggestion forum.
I simply corrected you since your talking about code in showphoto.tmpl that simply does not exist. The variables throughout the code as I stated are $cats['avatar']. I stated your referring to language strings not code on the Make Index Thumb thing. If you dont understand anything I posted then I as well dont know what else to say either so lets leave it at that.
August 17th, 2004, 11:04 PM
Yes, I goofed and mentioned a tmpl file when I should have referred to a php but that's not the point. Here is what I was simply trying to say:
The ability to display a thumbnail on the Photopost index page is referred to as two different things depending on where it's accessed. In the admin panel, it's referred to twice -- the first instance as a yes/no field that pertains to "Show Category Avatars?
Do you want to display the Index Avatars?" and the second instance as a yes/no field that pertains to "Show Avatars? When available, show avatars?"
However, to get these "Avatars" to show up, the Photopost admin/developer/owner needs to know that these "Avatars" are the same thing as the "Make Category Thumbnail". This, to me, was very confusing -- when I think of an avatar, I think of the small graphics usually seen in forum software next to a user's name (and usually defined/chosen by them). My whole point was that since these are inter-dependent things -- their labeling and/or naming should be clearer... rather than referring to them as index thumbnails in one place and avatars in the Admin. The point is NOT whether or not the variables are consistent in the code or whether or not the labels can be redefined in the language files -- the point was I think it's confusing and wanted to point it out because after it'd caused me a lot of confusion, I felt it might likely confuse others.
August 17th, 2004, 11:12 PM
Okay well both of those references are pretty darn clear in the admin section to me. Maybe its just me.
In the admin section
Under INDEX OPTIONS
Show category avatars. THIS CONTROLS THE CATEGORY AVATARS
under SHOWPHOTO OPTIONS
Show Avatars THIS CONTROLS THE USER AVATAR ON COMMENTS.
In version 4.8 we made sure to also as there are all these options to separate them into their own sections so users know what they are for.
August 17th, 2004, 11:17 PM
Clear as mud, I'd say. Fine... with this thread folks will at least know that in the Photopost world an "Avatar" for a category is the same thing as an "Index Thumbnail"...
August 17th, 2004, 11:19 PM
No wonder I hang out in photopostdev more now than here. This place is just nutty... and I mean that in the kindest way possible. Have a nice day.
September 7th, 2004, 06:32 PM
I'm trying to find the link to add the avatar to the category in the editing category section but I don't see anyting.. below is a screenshot and there's no link in there. ;)
Edited: never mind. I found it :)
September 19th, 2004, 09:27 AM
You need to view a photo in a category and select make thumbnail
Sorry, I can't find this link :confused:
Is it on showphoto.php or on editphoto.php ?
Do you know how it's called with French lang file?
September 26th, 2004, 09:08 AM
October 1st, 2004, 10:13 AM
I am lost one this one to?
Where is that button....
Could some one post a screenshot of this wunder button.
October 4th, 2004, 10:01 AM
Same with me - I do NOT see any link "make thumbnail" or similar in showphoto.php - where is it?
I have the index option
"Show Category Avatars?
Do you want to display the Index Avatars?" set to "yes"...
I use 4.8.1...
October 4th, 2004, 10:17 AM
It's under the photo on the same line as EDIT PHOTO and can only be seen by the Admin...
October 4th, 2004, 10:43 AM
Ha, that's it - we foreigner's are not all blind!
The secret is: $Globals['pp_lang']['removeindex'] = "remove index thumb";
$Globals['pp_lang']['makeindex'] = "add index thumb"; is NOT included in the foreign language files - but it is in the English version.
So, just add those two lines in your language file "showphoto.php" and it works. This happens in 4.8.1. Since I won't update again till PP 6.x ;) (just because of my massive modifications) I don't know if this happens in 4.8.2 too.
Regards and thanks Michael!
October 4th, 2004, 10:46 AM
I was just about to point that out to you myself :) PyroMarkus
See this post (http://www.photopost.com/members/forum/showthread.php?t=110091)
I have allso discoverd in other lang files ther are a few lines missing.
October 4th, 2004, 10:50 AM
Ok - thanks - so we all know now ;)
I would love an automatism that always the newest image of a category would be the index thumb - than this thing would make more sense than this static-never-changing image to me.
Just my oppinion...
So, after finding out I just switched them off because I don't like the static version ;)
vBulletin® v3.8.1, Copyright ©2000-2015, Jelsoft Enterprises Ltd.