Images and poll permalinks
I was noticing that when you click the permalink on the polls it shows the poll results but not the options to vote or the images set with the entry?
Is there anway that those can appear also?
Tim P.S. I was wondering what you do for your day job?
Files
| An updated css to align poll icons 3,112 bytes, 183 downloads This file adds the style class .poll, and it is used to achieve a better rendering, at least in IE and in FireFox.Edited by Bernard on Apr. 26 2005 Zoom | |
| An updated css to make icons flow nicely 3,075 bytes, 171 downloads Look at the .icon definition. Change right to left if you wish. Edited by Bernard on Apr. 21 2005 Zoom |
Comments
| Bernard from nearby-an-airport Associate, 6796 posts | The issue is to determine what to display as a permalink. I have selected to display poll results here. Do you mean you would like to add a button to vote on the results page? |
| Bernard from nearby-an-airport Associate, 6796 posts | " P.S. I was wondering what you do for your day job? " I am a consultant in network and distributed web systems.
|
| Timster 100 posts |
Bernard: I realize that my use of the poll system for YACS on my Tech Colosseum website is a bit of bastardization of its original intention, but when you search for an item on my site and the poll/blog entry comes up with a result it shows the permalink version of the entry and doesn't make it possible for users to vote. I was hoping users would still be able to vote on older content. Tim step by step...
|
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: Have you checked the very last version of YACS? The script overlays/poll.php now enables votes in the permalink page
|
| Timster 100 posts |
Bernard: Looks like you've been busy, thanks very much. This weekend I will right a report of my marketing suggestions for YACs that you can take or ignore the advice of. Tim |
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: Thank you in advance for your suggestions and for help. |
| Timster 100 posts |
Bernard: The permalink situation has improved so that you can vote from a permalink page, but for some reason while you can view the images if they were set to the position at the top of the page, you still can't view the images if they were set as poll thumbnails. Is there anyway that the thumbnail pictures can be viewed on the permalink pages also? Thanks, Tim P.S. I saw some changes on the site, did you think about the rest of the marketing questions I sent you? |
| Bernard from nearby-an-airport Associate, 6796 posts | Timster: thumbnails are supposed to appear in list of articles, while icons appear at permalinks. Usually in your case, I upload a quite large image, and select to use it as a page icon. Then I check the permalink page. To use it as a thumbnail as well, hit the 'Edit' link. Look at images below the form. Next to the target image, click on 'Set as page thumbnail'. The permalink is displayed again. Towards the top of the page, click on the link to the section page to list pages, and to check that the thumbnail appears correctly. In this case YACS uses a small-size thumbnail built after the icon upload. Of course, you can do it the other way around, post an image to be used as the thumbnail, then edit the page to set the same image as the page icon. In this case both images may have the same size. Re:PS: Yes, I am still thinking about it. Thank you again for your input. |
| Timster 100 posts |
Bernard: It would save a ton of time when adding images if you could select the 'set as thumbnail' AND 'set as icon' options at the same time. Is that possible? Otherwise your work-around does the job, on my front page of my site the thumbnail always shows if you choose both, which is what I need. Thanks, Tim |
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: Thank you for the suggestion. I suppose I should add an option 'Set as both' to the posting form. In this case:
Ok with this feature description? |
| Timster 100 posts |
Bernard: I think that would work for me... let me know when the changes are made and I'll upload and try it out. Cheers, Tim |
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: Can you please check the last nightly build of YACS? Thank you for your feed-back. |
| Timster 100 posts |
Bernard: I tried the new build and I find when I choose the: Append the image, and also use it as thumbnail, option in the poll advanced options editing for the images, it shows the image twice rather than in different positions relative to whether its viewed on the home page or from the permalink. Tim |
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: Hmmm, what about changing slightly different things:
I will work on that as soon as you will provide your green light... |
| Timster 100 posts |
Bernard: I'm not sure I follow entirely your train of thought, for my specific case (I don't know about the other Yacs users ) I need the thumbnail positioning for the daily view on my home page because it shows the image nicely with my poll (and again in my case 'with results') formatted nicely beside it. When I view the permalink the thumbnail image disappears (which is what I don't want), since I wish the formatting would remain the same as the home page.I only use the 'set as page icon' positioning for my image choice when the image I want to use is too wide to allow the poll and results beside it to format properly. And then I just settle for the image being wide enough to cover accross my daily entry and have the poll and results show below it, which looks fine by me. When I view the permalink from the entries that have images set as page icons the formatting remains the same so I am happy. If you changes allow for this then I'm all for them. Timster P.S. my skype name is timstertaiwan |
| Bernard from nearby-an-airport Associate, 6796 posts |
" Also now all my images have disappeared... because of the change of the thumbnail positioning. Actually using the thumbnail image in the daily layout was a bug. The proper way to do things, and this is what has been implemented, is to have one main image(the icon) to be used at the permalink page, and at the home page as well. The thumbnail image is used in list of articles, for example at section index pages, or at themain index for new articles. Also, I have taken into account the way you are publishing new polls to make it more easy than it was before. All you need to do during the creation of a new poll is to add an icon to the page. Be sure to upload the image only once, and to select the option 'Set as page icon' only. On upload, YACS will create an additional thumbnail image derived from the icon image. As a result, YACS should display:
Images have disappeared because YACS now expects icons instead of thumbnails. To avoid the tedious process of changing every page, I have added to the last built a run once script to do that automatically. So please upgrade your server, and images should recover nicely. By the way, I travelled for the last two weeks in China for business, and will be more available to you now that I'm back in France. |
| Bernard from nearby-an-airport Associate, 6796 posts |
" my skype name is timstertaiwan " Have you updated you user profile accordingly? This would let more people call you. Ifyou are logged in, visit my page to get an idea of what I mean. Also, I have attempted to call you this morning (Paris time) but Skype told me you were not reachable. Wouldyou be available some time this week to have an open discussion together? |
| Timster 100 posts |
Bernard: I'm in Taipei and your in Paris, generally I only use skype when I'm at the office, and even then usually only the chat function. Skype often shows people off-line when they are actually online so try to ping me anytime, and I'll try the same. Cheers, Tim |
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: May I suggest you to slightly update the css file for the techcolosseum skin, in order to make icon images flow nicely on the right of permalink pages? Use the attached css instead of yours. Hope it helps... |
| Timster 100 posts |
Bernard: The image positioning for the permalinks is much better now and looks great. But especially in Firefox and slightly in IE, the poll graphic bars don't line up properly anymore Tweak, tweak tweak.
|
| Bernard from nearby-an-airport Associate, 6796 posts |
Timster: I have attached an updated css file for your site, that should improve on poll rendering. Basically, YACS now uses the .poll style, and you can tweak the CSS depending on images you use for poll bars. |
| Timster 100 posts |
Bernard: Thanks! Works like a charm. |
Rate this page
Posted by Timster on Mar. 21 2005, (popular)