Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add possibility for arrow location on the side instead of top or bottom #578

Open
schorr31 opened this issue Apr 28, 2024 · 2 comments
Open

Comments

@schorr31
Copy link

Is your feature request related to a problem? Please describe.
I build a photobooth with two buttons which are located on either side of the display. The problem i am facing now is that the arrows can not be pointed towards the side instead of bottom or top.

Describe the solution you'd like
A new configuration possibility for pointing the arrows to the side.

Describe alternatives you've considered
I tried without the arrows but it is not really clear sometimes what button to press.

Is there an easy fix or is a rewrite of background.py needed?

IMG_20240428_103239

@werdeil
Copy link
Member

werdeil commented May 14, 2024

Hi @schorr31, It needs quite some rewrite in background.py to make it work (all the resize methods) but it can be a nice enhancement to have a new arrow location SIDE to handle your case.

I'm keeping the issue opened, anyone can open a pull request to add it.

@DJ-Dingo
Copy link

DJ-Dingo commented May 17, 2024

Hey @schorr31
Yes you can do that, "if you manual change the original arrow.png" image inside the asset folder in PiBooth install folder.
(You go to your Python folder and then go to "/pibooth/pictures/assets/" And owerwrite the arrow.png with a new one that is turned 45 or in my case 90 degrees (Look at the zip file i prowided, to get you started, you can use Gimp to make new ones that fit your needs.

arrow.png.zip
)

Your PiBooth is installed in your Python folder in my cases /home/YOURNAME/ then in /.local/lib/python3.9/sitepackages/
And then /pibooth/pictures/assets/

In my furture setup I use a foot pedal, so i chaged the arrow with a foot pedal "and some text obove too.

You have to be aware that when you do this, an reinstall or update Pibooth later, then you have to do it again. So keep a copy of your new arrow.png file / setup somewhere else too.

Here are some test image of how it can look like if you do it.
You can make the size of the arrow image larger or smaller and make some empty space "Above or Under" the "arrow in the image" to make it go lower or higher on the screen. The rest of align placing you can do in the config file for pybooth (I have used '0' in my pibooth config.cfg for theese test setups.

arrow
IMG_6285
Skærmbillede 2024-05-17 152004
Skærmbillede 2024-05-17 152111
Skærmbillede 2024-05-17 152225
Skærmbillede 2024-05-17 152308
Skærmbillede 2024-05-17 152334

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants