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
Full Image Preview
Image sliced by script for board/forums
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
.... some more parts here (continue at part 5 of 6)
Temporary changing language for debugging, testing or demo
Magic - changing presentation language permanently
Image language in the first two spoilers will change!
https://i.l4f.cc/?lang_select=EN&rl=gku1RF
https://i.l4f.cc/?lang_select=DE&rl=gku1RF
https://i.l4f.cc/?lang_select=RO&rl=gku1RF
https://i.l4f.cc/?lang_select=TR&rl=gku1RF
gku1RF is a back-link redirection url to the forums thread. is used here
Optional Mobile compression for faster loading
man page:
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: Bild_[id].png Text/Main File: Text_[lang]_[id].png GIF: Animation File: Animation_[lang]_[id].gif SEE ALSO imagepng imagegif 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
Update 1:
Added mobile compression for gif animations
Optional animation compression for mobile
Terms of Customer Service
Individual conditions DM for more info
- 1