Elxis CMS Forum
Extensions => Bots and plugins => Topic started by: kyomar on May 03, 2013, 07:36:22
-
Hi, I would like to set width and height on a per gallery base. I tried {gallery width: 60px height: 60px} ...{/gallery} but this didn't work. How can I do this? I am using the tiara template (very good by the way).
Thank you!
-
Here is the answer: Elxis 4.x Docs (https://www.elxis.net/docs/el/using-elxis/extending/preinstalled-content-plugins.html). Read the fourth preinstalled content plugin.
-
thank you very much for your quick reply - very appreciated. I know how to set the parameters in the plugin edit page. But with this "all" galleries have the same thumbnail width and height, but I want to set the sizes individually for each gallery like I can do with the html 5 video plugin. Perhaps I am missing something.
-
Sorry i didn't get it before. Unfortunately Gallery content plugin doesn't support such a feature. However i made some changes in order to be compatible with your needs.
Here are the steps:
1. Download and uzip the gallery.plugin.zip file.
2. Upload file gallery.plugin.php to folder: /components/com_content/plugins/gallery/
-
Sorry i didn't get it before. Unfortunately Gallery content plugin doesn't support such a feature. However i made some changes in order to be compatible with your needs.
Here are the steps:
1. Download and uzip the gallery.plugin.zip file.
2. Upload file gallery.plugin.php to folder: /components/com_content/plugins/gallery/
Thank you webgift !!! really usefull.
What about having this version as default version in EXLIS 4.0 ?
-
wow, thank you so much webgift, works like a charm ;D and don't worry about the misunderstanding. English isn't my mother language, so I may have not explained it clearly in the first place. I love Elxis and I cannot wait for the new reservation component to test and implement.
-
I modified the XML adding the "how to use" ;D.
Here the full package.
-
You are welcome, kyomar and Amigamerlin.
-
Webgift what about having this plugin as default in ELXIS 4.0?
-
We want the plugins and modules to have as less configuration options as possible.
Especially for the plugins the ideal format is this: {plugin}something{/plugin}, nothing else, no parameters, symbols, mathematical signs, quotes, etc.
Most users get confused with many options, they need to install something and use it instantly. My main thinking is on newbies, not on advanced users. Elxis must be easy and fast to use for them. I also believe that sites should have a similar appearance from page to page, so a global option for the thumbnails width and height is enough. Finally, the included plugins are basic extensions, if you want more advacned or custom functionality you can create your own plugin with more options and different style.
-
We want the plugins and modules to have as less configuration options as possible.
Especially for the plugins the ideal format is this: {plugin}something{/plugin}, nothing else, no parameters, symbols, mathematical signs, quotes, etc.
Most users get confused with many options, they need to install something and use it instantly. My main thinking is on newbies, not on advanced users. Elxis must be easy and fast to use for them. I also believe that sites should have a similar appearance from page to page, so a global option for the thumbnails width and height is enough. Finally, the included plugins are basic extensions, if you want more advacned or custom functionality you can create your own plugin with more options and different style.
Sorry datahell but this is not the point. I can understand what you write but at least give the advanced users the opportunity to choose the way, including the parameters disabled by default, just like webgift . Advanced users can be gratefull for this. For me having width and height options is really important and like you have seen not for me only.
This is only what I think about.
Ciao
-
OK, then Webgift decides ;D
He can put his changes on the plugin on Elxis 4.1 release if he wish.
-
Thanks Datahell, this is Democracy !!! ;D ;D ;D
-
Set dimensions of image thumbnails per gallery set has been applied on Elxis CMS 4.1 Poseidon. However i am fun of simplicity too :)