Hey folks,
In this thread I wanna present you a perhaps already known tool I built in 2017 which was improved over the years since then.
Many projects already used/using it and now I wanna give everybody the possibility to improve your servers presentation in each and every board.
Like many of you I was confronted with the problem having a server presentation in multiple languages and had to put all the images in spoilers for different target group.
Depending on how spoilers, or images in them are pre-loaded, this not only makes the pages load heavy, it also runs in the problem of having to change the whole presentation for one forgotten feature, re-slice and many more issues!
And here is my solution for this:
https://i.l4f.cc/?dir=presentation&id=51&type=gif
Bitte melden Sie sich an, um diesen Link zu sehen.
https://i.l4f.cc/?dir=presentation&id=50&type=img
Bitte melden Sie sich an, um diesen Link zu sehen.
https://i.l4f.cc/?dir=presentation&id=50&part=1
https://i.l4f.cc/?dir=presentation&id=50&part=2
https://i.l4f.cc/?dir=presentation&id=50&part=3
https://i.l4f.cc/?dir=presentation&id=50&part=4
https://i.l4f.cc/?dir=presentation&id=50&part=5
https://i.l4f.cc/?dir=presentation&id=50&part=6
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
.... some more parts here (continue at part 5 of 6)
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
Image in English:
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=EN
Bitte melden Sie sich an, um diesen Link zu sehen.
Image in German:
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=DE
Bitte melden Sie sich an, um diesen Link zu sehen.
Image in Turkish:
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=TR
Bitte melden Sie sich an, um diesen Link zu sehen.
Image in Romanian:
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=RO
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
Image language in the first two spoilers will change!
https://i.l4f.cc/?lang_select=EN&rl=JjwCyF
Bitte melden Sie sich an, um diesen Link zu sehen.
https://i.l4f.cc/?lang_select=DE&rl=JjwCyFBitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
https://i.l4f.cc/?lang_select=RO&rl=JjwCyFBitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
https://i.l4f.cc/?lang_select=TR&rl=JjwCyF
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
Bitte melden Sie sich an, um diesen Link zu sehen.
JjwCyF is a back-link redirection url to the forums thread. https://l4f.cc is used here
Usually this is auto-detected but for presentation & testing purposes there is a &mobile parameter
Bitte melden Sie sich an, um diesen Link zu sehen.
Original:
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=EN
Bitte melden Sie sich an, um diesen Link zu sehen.
Mobile (jpeg - 70% compression):
https://i.l4f.cc/?dir=presentation&id=50&part=3&lang=EN&mobile=true
Bitte melden Sie sich an, um diesen Link zu sehen.
- NAME
- index.php
- SYNOPSIS
- index.php ? [dir] & [id] & [part] & [type] & [lang] & [lang_select] & [r] & [mobile]
- DESCRIPTION
- index.php is used to create images by differentiation of visitor location (country) and changing overlayed textarea
- dir
- directory where the images are located
- id
- number of image (str so 01 is valid, too)
- part
- cause of a limitation of 950px height the 'part' describes which part of a bigger sized images will be shown
- type
- is set to 'gif' it will look for a gif animation
- update (2018-06-25): Detection of mobile devices enabled if the GIF file has an equal named PNG deposited.
- Otherwise the original GIF will be loaded!
- is set to 'img' it will look for a png file
- lang
- manual declaration of language. If no image in this language is found then EN is default
- lang_select
- is used to set the default language by creating a session DE|EN|....
- r
- if the index part of a goo.gl link (example: reaNiW of https://goo.gl/reaNiW)
- mobile
- if set it forces image and optional compression for mobile users
- ( jpeg render with compression of 70% )
- DIAGNOSTICS
- convert.php exits with null
- FILE NAME STNADARDS
- PNG:
- Background File: Image_[id].png
- Text/Main File: Text_[lang]_[id].png
- GIF:
- Animation File: Animation_[lang]_[id].gif
- SEE ALSO
- imagepng
- imagegif
- imagick
- AUTHORS
- luki4fun aka. Coniesan
- 1st visit sets the language you get presented by browser language.
- If your specific language isn't supported, it automatically falls back to a language YOU define (default: english).
- If an image in a specific language is missing it automatically uses the fallback language.
- Images get cached after first render/slice process to reduce CPU load
- Language changes with the "lang_select" parameter are permanent and cross board/forums
- OPTIONAL: There is a feature to combine an "background"
image and "text" image with transparency. (depending on who designs u'r presentation and how YOU wanna handle it!) - OPTIONAL: gif animations can have multi language select, too
- OPTIONAL: gif animations can have a mobile alternative (PNG) image to reduce bandwith
- OPTIONAL *new*: Gif animations now can be compressed for mobile users
- Mobile compression can be deactivated
- Mobile compression rate is variable
If you have any further questions or improvements to the current environment, let me know
Kind regards
Coniesan aka. luki4fun