For those who like a functional rating bar
For those who like a functional rating bar
Use the script below as a custom thumb line (click the View button in upper right corner) to get a fully functional rating bar;
http://repository.idimager.com/openreso ... D198B0A7B8
Here's a screenshot
http://repository.idimager.com/openreso ... D198B0A7B8
Here's a screenshot
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: For those who like a functional rating bar
COOOL!
PSUServer 2024.x, PostgreSQL 12.x
My homepage http://www.michaelweidner.com
My homepage http://www.michaelweidner.com
Re: For those who like a functional rating bar
Hert,
it works. But there seems to be a little bug.
When using the rating bar, images stay in sync...
Cheers,
Michael
P.S.: I have set PSU to not write automatically catalog changes to the image file.
it works. But there seems to be a little bug.
When using the rating bar, images stay in sync...
Cheers,
Michael
P.S.: I have set PSU to not write automatically catalog changes to the image file.
PSUServer 2024.x, PostgreSQL 12.x
My homepage http://www.michaelweidner.com
My homepage http://www.michaelweidner.com
Re: For those who like a functional rating bar
Great, I've updated the script in the opening post. tnx
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: For those who like a functional rating bar
I copied the latest updated script. Note the stars are clipped. Using PSU 4. Thanks.
Photo Supreme 6.7.2.4201 (64 bits) (Windows)
Re: For those who like a functional rating bar
May I suggest to create a new main-topic in the tips for working with photo supreme where everyone can add his scripts and snippets - (no dicusions) - just scripts and the description? This script might otherwise go lost in the abandance of posts!
Everyone could add scripts as I could add my custom thumb script, the script you wrote me for the labels etc.
It might be a great source, additionally to the script repository...
Even with some write protection for new users or post approval...
Everyone could add scripts as I could add my custom thumb script, the script you wrote me for the labels etc.
It might be a great source, additionally to the script repository...
Even with some write protection for new users or post approval...
PSUServer 2024.x, PostgreSQL 12.x
My homepage http://www.michaelweidner.com
My homepage http://www.michaelweidner.com
Re: For those who like a functional rating bar
Sanphotgn,
I can see a small A in the last row. What is that for?
Maybe you can exchange the two lines and put the rating bar in the last line...
I can see a small A in the last row. What is that for?
Maybe you can exchange the two lines and put the rating bar in the last line...
- Attachments
-
- rating bar.PNG (245.18 KiB) Viewed 9347 times
PSUServer 2024.x, PostgreSQL 12.x
My homepage http://www.michaelweidner.com
My homepage http://www.michaelweidner.com
Re: For those who like a functional rating bar
Hi,
I believe I'm doing something wrong.
I have removed the 2 lines and with copy/ paste inserted the code. Then I receive "Runtime Error. Access violation"
I believe I'm doing something wrong.
I have removed the 2 lines and with copy/ paste inserted the code. Then I receive "Runtime Error. Access violation"
- Attachments
-
- 19-02-_2018_17-47-21.png (85.49 KiB) Viewed 9331 times
Cheers, Robert
PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
Re: For those who like a functional rating bar
Best to use the drop down -> Remove Line, then paste the entire script. You'll only see part of it in the line field but it should work as soon as you leave the line
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message
Re: For those who like a functional rating bar
I do not know why but now it works.
Is there a way to display date as well as the file name in the first line?
Is there a way to display date as well as the file name in the first line?
Cheers, Robert
PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
PSU V2025 Single User, Windows 11/MacOS . PSU V2025 PostgreSQL on Debian Linux Server
Re: For those who like a functional rating bar
The small A is the file name:weidmic wrote: 19 Feb 18 15:54 Sanphotgn,
I can see a small A in the last row. What is that for?
Maybe you can exchange the two lines and put the rating bar in the last line...
Code: Select all
<font size="14" family="arial" color="white">%FileName</font>
Result of moving the functional rating bar script to the lower row:
Photo Supreme 6.7.2.4201 (64 bits) (Windows)
Re: For those who like a functional rating bar
yeah, I see
I think my stars are way smaller. Propably relatet to the screen resolution.
My screens are all 4k...

I think my stars are way smaller. Propably relatet to the screen resolution.
My screens are all 4k...
PSUServer 2024.x, PostgreSQL 12.x
My homepage http://www.michaelweidner.com
My homepage http://www.michaelweidner.com
Re: For those who like a functional rating bar
While I didn't analyze this script closely, reducing the "size=22" values in the following 4 lines seem to eliminate the star clipping. In my case, going down to just "size=20" fixed the clipping, though you can go smaller if necessary.
Code: Select all
ARatingNoOnStar := '<a href="' + ARatingAnchorHref + '"><img title="no rating" size="22" path="' + ARatingStar + '" pathfillcolor="' + ARatingNoColor + '" pathstrokestyle="solid" pathstrokecolor="' + ARatingNoColor + '"></a>';
ARatingNoOffStar := '<a href="' + ARatingAnchorHref + '"><img size="22" path="' + ARatingStar + '" pathfillstyle="none" pathstrokestyle="solid" pathstrokecolor="' + ARatingNoColor + '"></a>';
ARatingOnStar := '<a href="' + ARatingAnchorHref + '"><img size="22" path="' + ARatingStar + '" pathfillcolor="' + ARatingColor + '" pathstrokestyle="solid" pathstrokecolor="' + ARatingColor + '"></a>';
ARatingOffStar := '<a href="' + ARatingAnchorHref + '"><img size="22" path="' + ARatingStar + '" pathfillstyle="none" pathstrokestyle="solid" pathstrokecolor="' + ARatingColor + '"></a>';
Re: For those who like a functional rating bar
jgodfrey - Thank you! Works. I had to go down to "size=18".
Photo Supreme 6.7.2.4201 (64 bits) (Windows)
Re: For those who like a functional rating bar
The size indeed should have been "18". The images in HTML didn't scale to high DPI and so different resolutions could need different sizes. That is corrected in build 1023 which is now available. A size of "18" should fit all.
The opening script is updated.
The opening script is updated.
This is a user-to-user forum. If you have suggestions, requests or need support then please send a message